Interface CfnResourceSet.ResourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceSet.ResourceProperty.Jsii$Proxy
- Enclosing class:
CfnResourceSet
@Stability(Stable)
public static interface CfnResourceSet.ResourceProperty
extends software.amazon.jsii.JsiiSerializable
The resource element of a resource set.
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.*; ResourceProperty resourceProperty = ResourceProperty.builder() .componentId("componentId") .dnsTargetResource(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()) .readinessScopes(List.of("readinessScopes")) .resourceArn("resourceArn") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceSet.ResourceProperty
static final class
An implementation forCfnResourceSet.ResourceProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The component identifier of the resource, generated when DNS target resource is used.default Object
A component for DNS/routing control readiness checks.The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to.default String
The Amazon Resource Name (ARN) of the AWS resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentId
The component identifier of the resource, generated when DNS target resource is used. -
getDnsTargetResource
A component for DNS/routing control readiness checks.This is a required setting when
ResourceSet
ResourceSetType
is set toAWS::Route53RecoveryReadiness::DNSTargetResource
. Do not set it for any otherResourceSetType
setting. -
getReadinessScopes
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to. -
getResourceArn
The Amazon Resource Name (ARN) of the AWS resource.This is a required setting for all
ResourceSet
ResourceSetType
settings exceptAWS::Route53RecoveryReadiness::DNSTargetResource
. Do not set this whenResourceSetType
is set toAWS::Route53RecoveryReadiness::DNSTargetResource
. -
builder
-