class CfnResourceSetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Route53RecoveryReadiness.Mixins.CfnResourceSetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsroute53recoveryreadiness/mixins#CfnResourceSetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.route53recoveryreadiness.mixins.CfnResourceSetPropsMixin |
Python | aws_cdk.mixins_preview.aws_route53recoveryreadiness.mixins.CfnResourceSetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_route53recoveryreadiness » mixins » CfnResourceSetPropsMixin |
Implements
IMixin
Extends
Mixin
Creates a resource set in Amazon Route 53 Application Recovery Controller.
A resource set is a set of resources of one type, such as Network Load Balancers, that span multiple cells. You can associate a resource set with a readiness check to have Route 53 ARC continually monitor the resources in the set for failover readiness.
You typically create a resource set and a readiness check for each supported type of AWS resource in your application.
For more information, see Readiness checks, resource sets, and readiness scopes in the Amazon Route 53 Application Recovery Controller Developer Guide.
Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as route53recoveryreadiness_mixins } from '@aws-cdk/mixins-preview/aws-route53recoveryreadiness';
const cfnResourceSetPropsMixin = new route53recoveryreadiness_mixins.CfnResourceSetPropsMixin({
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',
}],
resourceSetName: 'resourceSetName',
resourceSetType: 'resourceSetType',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnResourceSetPropsMixin(props: CfnResourceSetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Resource Set Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Route53RecoveryReadiness::ResourceSet.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript