Interface CfnTrafficPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrafficPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:00.002Z")
@Stability(Stable)
public interface CfnTrafficPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTrafficPolicy.
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.*;
CfnTrafficPolicyProps cfnTrafficPolicyProps = CfnTrafficPolicyProps.builder()
.document("document")
.name("name")
// the properties below are optional
.comment("comment")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrafficPolicyPropsstatic final classAn implementation forCfnTrafficPolicyProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocument
The definition of the traffic policy in JSON format.- See Also:
-
getName
The name of the traffic policy.- See Also:
-
getComment
Any comments to include about the traffic policy.- See Also:
-
builder
- Returns:
- a
CfnTrafficPolicyProps.BuilderofCfnTrafficPolicyProps
-