java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.route53recoveryreadiness.CfnResourceSetPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:18.496Z") @Stability(Stable) public class CfnResourceSetPropsMixin extends Mixin implements software.constructs.IMixin
Creates a resource set in Amazon Route 53 Application Recovery Controller.

A resource set is a set of resources of one type, such as Network Load Balancers, that span multiple cells. You can associate a resource set with a readiness check to have Route 53 ARC continually monitor the resources in the set for failover readiness.

You typically create a resource set and a readiness check for each supported type of AWS resource in your application.

For more information, see Readiness checks, resource sets, and readiness scopes in the Amazon Route 53 Application Recovery Controller Developer Guide.

Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.route53recoveryreadiness.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnResourceSetPropsMixin cfnResourceSetPropsMixin = CfnResourceSetPropsMixin.Builder.create(CfnResourceSetMixinProps.builder()
         .resources(List.of(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()))
         .resourceSetName("resourceSetName")
         .resourceSetType("resourceSetType")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnResourceSetPropsMixin

      protected CfnResourceSetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnResourceSetPropsMixin

      protected CfnResourceSetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnResourceSetPropsMixin

      @Stability(Stable) public CfnResourceSetPropsMixin(@NotNull CfnResourceSetMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Route53RecoveryReadiness::ResourceSet.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnResourceSetPropsMixin

      @Stability(Stable) public CfnResourceSetPropsMixin(@NotNull CfnResourceSetMixinProps props)
      Create a mixin to apply properties to AWS::Route53RecoveryReadiness::ResourceSet.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnResourceSetMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()