Class CfnResourceSetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53recoveryreadiness.CfnResourceSetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSetPropsMixin>
- Enclosing class:
CfnResourceSetPropsMixin
@Stability(Stable)
public static final class CfnResourceSetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSetPropsMixin>
A fluent builder for
CfnResourceSetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) A 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 CfnResourceSetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResourceSetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResourceSetPropsMixin.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
@Stability(Stable) public CfnResourceSetPropsMixin.Builder resources(List<? extends Object> 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:
-
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:
-
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:
-
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<CfnResourceSetPropsMixin>- Returns:
- a newly built instance of
CfnResourceSetPropsMixin.
-