interface ResourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53RecoveryReadiness.CfnResourceSet.ResourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53recoveryreadiness#CfnResourceSet_ResourceProperty |
![]() | software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet.ResourceProperty |
![]() | aws_cdk.aws_route53recoveryreadiness.CfnResourceSet.ResourceProperty |
![]() | aws-cdk-lib » aws_route53recoveryreadiness » CfnResourceSet » ResourceProperty |
The resource element of a resource set.
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 resourceProperty: route53recoveryreadiness.CfnResourceSet.ResourceProperty = {
componentId: 'componentId',
dnsTargetResource: {
domainName: 'domainName',
hostedZoneArn: 'hostedZoneArn',
recordSetId: 'recordSetId',
recordType: 'recordType',
targetResource: {
nlbResource: {
arn: 'arn',
},
r53Resource: {
domainName: 'domainName',
recordSetId: 'recordSetId',
},
},
},
readinessScopes: ['readinessScopes'],
resourceArn: 'resourceArn',
};
Properties
Name | Type | Description |
---|---|---|
component | string | The component identifier of the resource, generated when DNS target resource is used. |
dns | IResolvable | DNSTarget | A component for DNS/routing control readiness checks. |
readiness | string[] | The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to. |
resource | string | The Amazon Resource Name (ARN) of the AWS resource. |
componentId?
Type:
string
(optional)
The component identifier of the resource, generated when DNS target resource is used.
dnsTargetResource?
Type:
IResolvable
|
DNSTarget
(optional)
A component for DNS/routing control readiness checks.
This is a required setting when ResourceSet
ResourceSetType
is set to AWS::Route53RecoveryReadiness::DNSTargetResource
. Do not set it for any other ResourceSetType
setting.
readinessScopes?
Type:
string[]
(optional)
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to.
resourceArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the AWS resource.
This is a required setting for all ResourceSet
ResourceSetType
settings except AWS::Route53RecoveryReadiness::DNSTargetResource
. Do not set this when ResourceSetType
is set to AWS::Route53RecoveryReadiness::DNSTargetResource
.