CfnResourceSetProps
- class aws_cdk.aws_route53recoveryreadiness.CfnResourceSetProps(*, resources, resource_set_type, resource_set_name=None, tags=None)
Bases:
object
Properties for defining a
CfnResourceSet
.- Parameters:
resources (
Union
[IResolvable
,Sequence
[Union
[ResourceProperty
,Dict
[str
,Any
],IResolvable
]]]) – A list of resource objects in the resource set.resource_set_type (
str
) – 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.resource_set_name (
Optional
[str
]) – The name of the resource set to create.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – A tag to associate with the parameters for a resource set.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_route53recoveryreadiness as route53recoveryreadiness cfn_resource_set_props = route53recoveryreadiness.CfnResourceSetProps( resources=[route53recoveryreadiness.CfnResourceSet.ResourceProperty( component_id="componentId", dns_target_resource=route53recoveryreadiness.CfnResourceSet.DNSTargetResourceProperty( domain_name="domainName", hosted_zone_arn="hostedZoneArn", record_set_id="recordSetId", record_type="recordType", target_resource=route53recoveryreadiness.CfnResourceSet.TargetResourceProperty( nlb_resource=route53recoveryreadiness.CfnResourceSet.NLBResourceProperty( arn="arn" ), r53_resource=route53recoveryreadiness.CfnResourceSet.R53ResourceRecordProperty( domain_name="domainName", record_set_id="recordSetId" ) ) ), readiness_scopes=["readinessScopes"], resource_arn="resourceArn" )], resource_set_type="resourceSetType", # the properties below are optional resource_set_name="resourceSetName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- resource_set_name
The name of the resource set to create.
- resource_set_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.
- Link:
- Type:
The resource type of the resources in the resource set. Enter one of the following values for resource type
- resources
A list of resource objects in the resource set.
- tags
A tag to associate with the parameters for a resource set.