Interface CfnResourceSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceSetProps.Jsii$Proxy
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 classA builder forCfnResourceSetPropsstatic final classAn implementation forCfnResourceSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceSetProps.Builderbuilder()A list of resource objects in the resource set.default StringThe 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnResourceSet.ResourceProperty>- 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.BuilderofCfnResourceSetProps
-