Interface CfnTrafficPolicyInstanceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrafficPolicyInstanceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:00.002Z")
@Stability(Stable)
public interface CfnTrafficPolicyInstanceProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.route53.*;
CfnTrafficPolicyInstanceProps cfnTrafficPolicyInstanceProps = CfnTrafficPolicyInstanceProps.builder()
.hostedZoneId("hostedZoneId")
.name("name")
.trafficPolicyId("trafficPolicyId")
.trafficPolicyVersion(123)
.ttl(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrafficPolicyInstancePropsstatic final classAn implementation forCfnTrafficPolicyInstanceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ID of the hosted zone that Amazon Route 53 creates the resource record sets in.getName()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.The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.getTtl()The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostedZoneId
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 Also:
-
getName
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 Also:
-
getTrafficPolicyId
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 Also:
-
getTrafficPolicyVersion
The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.- See Also:
-
getTtl
The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.- See Also:
-
builder
-