aws-cdk-lib.aws_route53recoveryreadiness.CfnResourceSetProps

interface CfnResourceSetProps

LanguageType name
.NETAmazon.CDK.AWS.Route53RecoveryReadiness.CfnResourceSetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53recoveryreadiness#CfnResourceSetProps
Javasoftware.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSetProps
Pythonaws_cdk.aws_route53recoveryreadiness.CfnResourceSetProps
TypeScript aws-cdk-lib » aws_route53recoveryreadiness » CfnResourceSetProps

Properties for defining a CfnResourceSet.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53recoveryreadiness as route53recoveryreadiness } from 'aws-cdk-lib';
const cfnResourceSetProps: route53recoveryreadiness.CfnResourceSetProps = {
  resources: [{
    componentId: 'componentId',
    dnsTargetResource: {
      domainName: 'domainName',
      hostedZoneArn: 'hostedZoneArn',
      recordSetId: 'recordSetId',
      recordType: 'recordType',
      targetResource: {
        nlbResource: {
          arn: 'arn',
        },
        r53Resource: {
          domainName: 'domainName',
          recordSetId: 'recordSetId',
        },
      },
    },
    readinessScopes: ['readinessScopes'],
    resourceArn: 'resourceArn',
  }],
  resourceSetType: 'resourceSetType',

  // the properties below are optional
  resourceSetName: 'resourceSetName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
resourceSetTypestringThe resource type of the resources in the resource set. Enter one of the following values for resource type:.
resourcesIResolvable | IResolvable | ResourceProperty[]A list of resource objects in the resource set.
resourceSetName?stringThe name of the resource set to create.
tags?CfnTag[]A tag to associate with the parameters for a resource set.

resourceSetType

Type: string

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.


resources

Type: IResolvable | IResolvable | ResourceProperty[]

A list of resource objects in the resource set.


resourceSetName?

Type: string (optional)

The name of the resource set to create.


tags?

Type: CfnTag[] (optional)

A tag to associate with the parameters for a resource set.