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();
 
  • Method Details

    • getComponentId

      @Stability(Stable) @Nullable default String getComponentId()
      The component identifier of the resource, generated when DNS target resource is used.
    • getDnsTargetResource

      @Stability(Stable) @Nullable default Object getDnsTargetResource()
      A component for DNS/routing control readiness checks.

      This is a required setting when ResourceSet ResourceSetType is set to AWS::Route53RecoveryReadiness::DNSTargetResource . Do not set it for any other ResourceSetType setting.

    • getReadinessScopes

      @Stability(Stable) @Nullable 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.
    • getResourceArn

      @Stability(Stable) @Nullable default String getResourceArn()
      The Amazon Resource Name (ARN) of the AWS resource.

      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 .

    • builder

      @Stability(Stable) static CfnResourceSet.ResourceProperty.Builder builder()
      Returns:
      a CfnResourceSet.ResourceProperty.Builder of CfnResourceSet.ResourceProperty