@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.697Z") @Stability(value=Stable) public interface CfnResourceSetProps 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.*;
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()))
.resourceSetName("resourceSetName")
.resourceSetType("resourceSetType")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceSetProps.Builder
A builder for
CfnResourceSetProps |
static class |
CfnResourceSetProps.Jsii$Proxy
An implementation for
CfnResourceSetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceSetProps.Builder |
builder() |
Object |
getResources()
A list of resource objects in the resource set.
|
String |
getResourceSetName()
The name of the resource set to create.
|
String |
getResourceSetType()
The resource type of the resources in the resource set.
|
default List<CfnTag> |
getTags()
A tag to associate with the parameters for a resource set.
|
@Stability(value=Stable) @NotNull Object getResources()
@Stability(value=Stable) @NotNull String getResourceSetName()
@Stability(value=Stable) @NotNull String getResourceSetType()
AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, 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.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnResourceSetProps.Builder builder()
CfnResourceSetProps.Builder of CfnResourceSetPropsCopyright © 2022. All rights reserved.