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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourceSet.ResourcePropertystatic final classAn implementation forCfnResourceSet.ResourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe component identifier of the resource, generated when DNS target resource is used.default ObjectA 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 StringThe 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.- See Also:
-
getDnsTargetResource
A component for DNS/routing control readiness checks.This is a required setting when
ResourceSetResourceSetTypeis set toAWS::Route53RecoveryReadiness::DNSTargetResource. Do not set it for any otherResourceSetTypesetting.Returns union: either
IResolvableorCfnResourceSet.DNSTargetResourceProperty- See Also:
-
getReadinessScopes
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to.- See Also:
-
getResourceArn
The Amazon Resource Name (ARN) of the AWS resource.This is a required setting for all
ResourceSetResourceSetTypesettings exceptAWS::Route53RecoveryReadiness::DNSTargetResource. Do not set this whenResourceSetTypeis set toAWS::Route53RecoveryReadiness::DNSTargetResource.- See Also:
-
builder
-