public static final class CfnResourceSet.Builder
extends java.lang.Object
CfnResourceSet
.Modifier and Type | Method and Description |
---|---|
CfnResourceSet |
build() |
static CfnResourceSet.Builder |
create(Construct scope,
java.lang.String id) |
CfnResourceSet.Builder |
resources(IResolvable resources)
A list of resource objects in the resource set.
|
CfnResourceSet.Builder |
resources(java.util.List<? extends java.lang.Object> resources)
A list of resource objects in the resource set.
|
CfnResourceSet.Builder |
resourceSetName(java.lang.String resourceSetName)
The name of the resource set to create.
|
CfnResourceSet.Builder |
resourceSetType(java.lang.String resourceSetType)
The resource type of the resources in the resource set.
|
CfnResourceSet.Builder |
tags(java.util.List<? extends CfnTag> tags)
A tag to associate with the parameters for a resource set.
|
public static CfnResourceSet.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnResourceSet.DNSTargetResourceProperty.Builder
.public CfnResourceSet.Builder resources(IResolvable resources)
resources
- A list of resource objects in the resource set. This parameter is required.this
public CfnResourceSet.Builder resources(java.util.List<? extends java.lang.Object> resources)
resources
- A list of resource objects in the resource set. This parameter is required.this
public CfnResourceSet.Builder resourceSetName(java.lang.String resourceSetName)
resourceSetName
- The name of the resource set to create. This parameter is required.this
public CfnResourceSet.Builder resourceSetType(java.lang.String resourceSetType)
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.
resourceSetType
- The resource type of the resources in the resource set. Enter one of the following values for resource type:. This parameter is required.this
public CfnResourceSet.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- A tag to associate with the parameters for a resource set. This parameter is required.this
public CfnResourceSet build()