Interface CfnResourceSet.DNSTargetResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceSet.DNSTargetResourceProperty.Jsii$Proxy
- Enclosing class:
CfnResourceSet
@Stability(Stable)
public static interface CfnResourceSet.DNSTargetResourceProperty
extends software.amazon.jsii.JsiiSerializable
A component for DNS/routing control readiness checks and architecture checks.
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.route53recoveryreadiness.*;
DNSTargetResourceProperty dNSTargetResourceProperty = DNSTargetResourceProperty.builder()
.domainName("domainName")
.hostedZoneArn("hostedZoneArn")
.recordSetId("recordSetId")
.recordType("recordType")
.targetResource(TargetResourceProperty.builder()
.nlbResource(NLBResourceProperty.builder()
.arn("arn")
.build())
.r53Resource(R53ResourceRecordProperty.builder()
.domainName("domainName")
.recordSetId("recordSetId")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourceSet.DNSTargetResourcePropertystatic final classAn implementation forCfnResourceSet.DNSTargetResourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe domain name that acts as an ingress point to a portion of the customer application.default StringThe hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.default StringThe Amazon Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.default StringThe type of DNS record of the target resource.default ObjectThe target resource that the Route 53 record points to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The domain name that acts as an ingress point to a portion of the customer application.- See Also:
-
getHostedZoneArn
The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.- See Also:
-
getRecordSetId
The Amazon Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.- See Also:
-
getRecordType
The type of DNS record of the target resource.- See Also:
-
getTargetResource
The target resource that the Route 53 record points to.Returns union: either
IResolvableorCfnResourceSet.TargetResourceProperty- See Also:
-
builder
-