@Stability(value=Stable)
public static interface CfnResourceSet.ResourceProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceSet.ResourceProperty.Builder
A builder for
CfnResourceSet.ResourceProperty |
static class |
CfnResourceSet.ResourceProperty.Jsii$Proxy
An implementation for
CfnResourceSet.ResourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceSet.ResourceProperty.Builder |
builder() |
default String |
getComponentId()
The component identifier of the resource, generated when DNS target resource is used.
|
default Object |
getDnsTargetResource()
A component for DNS/routing control readiness checks.
|
default List<String> |
getReadinessScopes()
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to.
|
default String |
getResourceArn()
The Amazon Resource Name (ARN) of the AWS resource.
|
@Stability(value=Stable) @Nullable default String getComponentId()
@Stability(value=Stable) @Nullable default Object getDnsTargetResource()
This is a required setting when ResourceSet ResourceSetType is set to AWS::Route53RecoveryReadiness::DNSTargetResource . Do not set it for any other ResourceSetType setting.
@Stability(value=Stable) @Nullable default List<String> getReadinessScopes()
@Stability(value=Stable) @Nullable default String getResourceArn()
This is a required setting for all ResourceSet ResourceSetType settings except AWS::Route53RecoveryReadiness::DNSTargetResource . Do not set this when ResourceSetType is set to AWS::Route53RecoveryReadiness::DNSTargetResource .
@Stability(value=Stable) static CfnResourceSet.ResourceProperty.Builder builder()
Copyright © 2022. All rights reserved.