interface CfnTrafficPolicyInstanceProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.CfnTrafficPolicyInstanceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#CfnTrafficPolicyInstanceProps |
Java | software.amazon.awscdk.services.route53.CfnTrafficPolicyInstanceProps |
Python | aws_cdk.aws_route53.CfnTrafficPolicyInstanceProps |
TypeScript | aws-cdk-lib » aws_route53 » CfnTrafficPolicyInstanceProps |
Properties for defining a CfnTrafficPolicyInstance.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const cfnTrafficPolicyInstanceProps: route53.CfnTrafficPolicyInstanceProps = {
hostedZoneId: 'hostedZoneId',
name: 'name',
trafficPolicyId: 'trafficPolicyId',
trafficPolicyVersion: 123,
ttl: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| hosted | string | The ID of the hosted zone that Amazon Route 53 creates the resource record sets in. |
| name | string | 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. |
| traffic | string | The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. |
| traffic | number | The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. |
| ttl | number | The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone. |
hostedZoneId
Type:
string
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
Type:
string
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.
trafficPolicyId
Type:
string
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.
trafficPolicyVersion
Type:
number
The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.
ttl
Type:
number
The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.

.NET
Go
Java
Python
TypeScript