Interface CfnResourceSetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResourceSetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.041Z") @Stability(Stable) public interface CfnResourceSetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnResourceSet.

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.*;
 CfnResourceSetProps cfnResourceSetProps = CfnResourceSetProps.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()))
         .resourceSetType("resourceSetType")
         // the properties below are optional
         .resourceSetName("resourceSetName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getResources

      @Stability(Stable) @NotNull Object getResources()
      A list of resource objects in the resource set.
    • getResourceSetType

      @Stability(Stable) @NotNull String getResourceSetType()
      The resource type of the resources in the resource set. Enter one of the following values for resource type:.

      AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource.

      Note that AWS::Route53RecoveryReadiness::DNSTargetResource is only used for this setting. It isn't an actual AWS CloudFormation resource type.

    • getResourceSetName

      @Stability(Stable) @Nullable default String getResourceSetName()
      The name of the resource set to create.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A tag to associate with the parameters for a resource set.
    • builder

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