DomainProps
Properties for defining a Domain
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dcdn-domain
Initializer
import ros_cdk_dcdn
ros_cdk_dcdn.DomainProps(
domain_name: typing.Union[str, IResolvable],
sources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SourcesProperty]]],
check_url: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
scope: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None,
top_level_domain: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
domain_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property domainName: The DCDN domain name. |
sources |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SourcesProperty]]] |
Property sources: The list of origin URLs. |
check_url |
typing.Union[str, ros_cdk_core.IResolvable] |
Property checkUrl: The validation of the origin. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group. |
scope |
typing.Union[str, ros_cdk_core.IResolvable] |
Property scope: Valid values: domestic, overseas, and global. |
tags |
typing.List[TagsProperty] |
Property tags: Tags to attach to instance. |
top_level_domain |
typing.Union[str, ros_cdk_core.IResolvable] |
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist. |
domain_name
Required
domain_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property domainName: The DCDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
sources
Required
sources: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SourcesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SourcesProperty]]]
Property sources: The list of origin URLs.
check_url
Optional
check_url: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property checkUrl: The validation of the origin.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
If this is left blank, the system automatically fills in the ID of the default resource group.
scope
Optional
scope: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property scope: Valid values: domestic, overseas, and global.
Default value: domestic. The setting is supported for users outside mainland China, users in mainland China of level 3 or above.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
top_level_domain
Optional
top_level_domain: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.