CfnTrafficPolicyInstanceProps

class aws_cdk.aws_route53.CfnTrafficPolicyInstanceProps(*, hosted_zone_id, name, traffic_policy_id, traffic_policy_version, ttl)

Bases: object

Properties for defining a CfnTrafficPolicyInstance.

Parameters:
  • hosted_zone_id (str) – The ID of the hosted zone that Amazon Route 53 creates the resource record sets in. The bare ID as Route 53 returns it, without a /hostedzone/ prefix.

  • name (str) – The domain name, or subdomain name, for which Amazon Route 53 answers DNS queries by using the resource record sets it creates for this traffic policy instance. Must be lower-case and end with a trailing dot, which is the form Route 53 returns: Route 53 normalizes DNS names, so admitting another form would neither round-trip through Read nor guarantee that a change to this property changes the resource’s identity.

  • traffic_policy_id (str) – The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. Lower-case, as Route 53 returns it.

  • traffic_policy_version (Union[int, float]) – The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.

  • ttl (Union[int, float]) – The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_traffic_policy_instance_props = route53.CfnTrafficPolicyInstanceProps(
    hosted_zone_id="hostedZoneId",
    name="name",
    traffic_policy_id="trafficPolicyId",
    traffic_policy_version=123,
    ttl=123
)

Attributes

hosted_zone_id

The ID of the hosted zone that Amazon Route 53 creates the resource record sets in.

The bare ID as Route 53 returns it, without a /hostedzone/ prefix.

See:

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

name

The domain name, or subdomain name, for which Amazon Route 53 answers DNS queries by using the resource record sets it creates for this traffic policy instance.

Must be lower-case and end with a trailing dot, which is the form Route 53 returns: Route 53 normalizes DNS names, so admitting another form would neither round-trip through Read nor guarantee that a change to this property changes the resource’s identity.

See:

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

traffic_policy_id

The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.

Lower-case, as Route 53 returns it.

See:

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

traffic_policy_version

The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.

See:

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

ttl

The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.

See:

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