Class CfnTrafficPolicyInstanceProps
Properties for defining a CfnTrafficPolicyInstance.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrafficPolicyInstanceProps : ICfnTrafficPolicyInstanceProps
Syntax (vb)
Public Class CfnTrafficPolicyInstanceProps Implements ICfnTrafficPolicyInstanceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
var cfnTrafficPolicyInstanceProps = new CfnTrafficPolicyInstanceProps {
HostedZoneId = "hostedZoneId",
Name = "name",
TrafficPolicyId = "trafficPolicyId",
TrafficPolicyVersion = 123,
Ttl = 123
};
Synopsis
Constructors
| CfnTrafficPolicyInstanceProps() | Properties for defining a |
Properties
| HostedZoneId | The ID of the hosted zone that Amazon Route 53 creates the resource record sets in. |
| 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. |
| TrafficPolicyId | The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. |
| TrafficPolicyVersion | The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. |
| Ttl | The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone. |
Constructors
CfnTrafficPolicyInstanceProps()
Properties for defining a CfnTrafficPolicyInstance.
public CfnTrafficPolicyInstanceProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
var cfnTrafficPolicyInstanceProps = new CfnTrafficPolicyInstanceProps {
HostedZoneId = "hostedZoneId",
Name = "name",
TrafficPolicyId = "trafficPolicyId",
TrafficPolicyVersion = 123,
Ttl = 123
};
Properties
HostedZoneId
The ID of the hosted zone that Amazon Route 53 creates the resource record sets in.
public string HostedZoneId { get; set; }
Property Value
Remarks
The bare ID as Route 53 returns it, without a /hostedzone/ prefix.
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.
public string Name { get; set; }
Property Value
Remarks
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
The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.
public string TrafficPolicyId { get; set; }
Property Value
Remarks
Lower-case, as Route 53 returns it.
TrafficPolicyVersion
The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.
public double TrafficPolicyVersion { get; set; }
Property Value
Remarks
Ttl
The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.
public double Ttl { get; set; }