ZoneDelegationOptions
- class aws_cdk.aws_route53.ZoneDelegationOptions(*, comment=None, ttl=None)
Bases:
object
Options available when creating a delegation relationship from one PublicHostedZone to another.
- Parameters:
comment (
Optional
[str
]) – A comment to add on the DNS record created to incorporate the delegation. Default: nonettl (
Optional
[Duration
]) – The TTL (Time To Live) of the DNS delegation record in DNS caches. Default: 172800
- ExampleMetadata:
fixture=_generated
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 import aws_cdk.core as cdk zone_delegation_options = route53.ZoneDelegationOptions( comment="comment", ttl=cdk.Duration.minutes(30) )
Attributes
- comment
A comment to add on the DNS record created to incorporate the delegation.
- Default:
none
- ttl
The TTL (Time To Live) of the DNS delegation record in DNS caches.
- Default:
172800