Interface CfnResourceSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:22.873Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceSetProps
static final class
An implementation forCfnResourceSetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceSetProps.Builder
builder()
A list of resource objects in the resource set.default String
The name of the resource set to create.The resource type of the resources in the resource set.getTags()
A tag to associate with the parameters for a resource set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResources
A list of resource objects in the resource set.- See Also:
-
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.
- See Also:
-
getResourceSetName
The name of the resource set to create.- See Also:
-
getTags
A tag to associate with the parameters for a resource set.- See Also:
-
builder
- Returns:
- a
CfnResourceSetProps.Builder
ofCfnResourceSetProps
-