CfnHostedZoneProps

class aws_cdk.aws_route53.CfnHostedZoneProps(*, hosted_zone_config=None, hosted_zone_tags=None, name=None, query_logging_config=None, vpcs=None)

Bases: object

Properties for defining a AWS::Route53::HostedZone.

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_route53 as route53

cfn_hosted_zone_props = route53.CfnHostedZoneProps(
    hosted_zone_config=route53.CfnHostedZone.HostedZoneConfigProperty(
        comment="comment"
    ),
    hosted_zone_tags=[route53.CfnHostedZone.HostedZoneTagProperty(
        key="key",
        value="value"
    )],
    name="name",
    query_logging_config=route53.CfnHostedZone.QueryLoggingConfigProperty(
        cloud_watch_logs_log_group_arn="cloudWatchLogsLogGroupArn"
    ),
    vpcs=[route53.CfnHostedZone.VPCProperty(
        vpc_id="vpcId",
        vpc_region="vpcRegion"
    )]
)

Attributes

hosted_zone_config

AWS::Route53::HostedZone.HostedZoneConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-hostedzoneconfig

Return type

Union[IResolvable, HostedZoneConfigProperty, None]

hosted_zone_tags

AWS::Route53::HostedZone.HostedZoneTags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-hostedzonetags

Return type

Optional[List[HostedZoneTagProperty]]

name

AWS::Route53::HostedZone.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-name

Return type

Optional[str]

query_logging_config

AWS::Route53::HostedZone.QueryLoggingConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-queryloggingconfig

Return type

Union[IResolvable, QueryLoggingConfigProperty, None]

vpcs

AWS::Route53::HostedZone.VPCs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-vpcs

Return type

Union[IResolvable, List[Union[IResolvable, VPCProperty]], None]