Class CfnResourceSet.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSet>
- Enclosing class:
CfnResourceSet
@Stability(Stable)
public static final class CfnResourceSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSet>
A fluent builder for
CfnResourceSet.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnResourceSet.BuilderA list of resource objects in the resource set.resources(IResolvable resources) A list of resource objects in the resource set.resourceSetName(String resourceSetName) The name of the resource set to create.resourceSetType(String resourceSetType) The resource type of the resources in the resource set.A tag to associate with the parameters for a resource set.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnResourceSet.Builder.
-
resources
A list of resource objects in the resource set.- Parameters:
resources- A list of resource objects in the resource set. This parameter is required.- Returns:
this- See Also:
-
resources
A list of resource objects in the resource set.- Parameters:
resources- A list of resource objects in the resource set. This parameter is required.- Returns:
this- See Also:
-
resourceSetType
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.
- Parameters:
resourceSetType- The resource type of the resources in the resource set. Enter one of the following values for resource type:. This parameter is required.- Returns:
this- See Also:
-
resourceSetName
The name of the resource set to create.- Parameters:
resourceSetName- The name of the resource set to create. This parameter is required.- Returns:
this- See Also:
-
tags
A tag to associate with the parameters for a resource set.- Parameters:
tags- A tag to associate with the parameters for a resource set. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceSet>- Returns:
- a newly built instance of
CfnResourceSet.
-