Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-domain

Initializer

import ros_cdk_waf
ros_cdk_waf.DomainProps(
  domain_name: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  is_access_product: typing.Union[str, IResolvable],
  source_ips: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  cluster_type: typing.Union[str, IResolvable] = None,
  connection_time: typing.Union[typing.Union[int, float], IResolvable] = None,
  http2_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  http_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  https_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  https_redirect: typing.Union[str, IResolvable] = None,
  http_to_user_ip: typing.Union[str, IResolvable] = None,
  load_balancing: typing.Union[str, IResolvable] = None,
  log_headers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LogHeadersProperty]]] = None,
  read_time: typing.Union[typing.Union[int, float], IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  write_time: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
domain_name typing.Union[str, ros_cdk_core.IResolvable] Property domainName: Domain name.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: Instance id.
is_access_product typing.Union[str, ros_cdk_core.IResolvable] Property isAccessProduct: Is there a seven-layer agency before WAF.
source_ips typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property sourceIps: Back to source IP configuration.
cluster_type typing.Union[str, ros_cdk_core.IResolvable] Property clusterType: Cluster type.
connection_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property connectionTime: Connection timeout.
http2_port typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property http2Port: Http2 port configuration.
http_port typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property httpPort: Http port configuration.
https_port typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property httpsPort: Https port configuration.
https_redirect typing.Union[str, ros_cdk_core.IResolvable] Property httpsRedirect: Https forced redirect configuration.
http_to_user_ip typing.Union[str, ros_cdk_core.IResolvable] Property httpToUserIp: Http back to source.
load_balancing typing.Union[str, ros_cdk_core.IResolvable] Property loadBalancing: Load balancing configuration.
log_headers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LogHeadersProperty]]] Property logHeaders: Domain traffic tagging.
read_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property readTime: Read connection timeout period.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group Id.
write_time typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property writeTime: Write connection timeout period.

domain_nameRequired

domain_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property domainName: Domain name.


instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: Instance id.


is_access_productRequired

is_access_product: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property isAccessProduct: Is there a seven-layer agency before WAF.


source_ipsRequired

source_ips: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property sourceIps: Back to source IP configuration.


cluster_typeOptional

cluster_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property clusterType: Cluster type.


connection_timeOptional

connection_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property connectionTime: Connection timeout.


http2_portOptional

http2_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property http2Port: Http2 port configuration.


http_portOptional

http_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property httpPort: Http port configuration.


https_portOptional

https_port: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property httpsPort: Https port configuration.


https_redirectOptional

https_redirect: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property httpsRedirect: Https forced redirect configuration.


http_to_user_ipOptional

http_to_user_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property httpToUserIp: Http back to source.


load_balancingOptional

load_balancing: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property loadBalancing: Load balancing configuration.


log_headersOptional

log_headers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LogHeadersProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LogHeadersProperty]]]

Property logHeaders: Domain traffic tagging.


read_timeOptional

read_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property readTime: Read connection timeout period.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: Resource group Id.


write_timeOptional

write_time: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property writeTime: Write connection timeout period.