Class CfnResourceSet.ResourceProperty
The resource element of a resource set.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceSet.ResourceProperty : CfnResourceSet.IResourceProperty
Syntax (vb)
Public Class CfnResourceSet.ResourceProperty Implements CfnResourceSet.IResourceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53RecoveryReadiness;
var resourceProperty = new ResourceProperty {
ComponentId = "componentId",
DnsTargetResource = new DNSTargetResourceProperty {
DomainName = "domainName",
HostedZoneArn = "hostedZoneArn",
RecordSetId = "recordSetId",
RecordType = "recordType",
TargetResource = new TargetResourceProperty {
NlbResource = new NLBResourceProperty {
Arn = "arn"
},
R53Resource = new R53ResourceRecordProperty {
DomainName = "domainName",
RecordSetId = "recordSetId"
}
}
},
ReadinessScopes = new [] { "readinessScopes" },
ResourceArn = "resourceArn"
};
Synopsis
Constructors
| ResourceProperty() | The resource element of a resource set. |
Properties
| ComponentId | The component identifier of the resource, generated when DNS target resource is used. |
| DnsTargetResource | A component for DNS/routing control readiness checks. |
| ReadinessScopes | The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to. |
| ResourceArn | The Amazon Resource Name (ARN) of the AWS resource. |
Constructors
ResourceProperty()
The resource element of a resource set.
public ResourceProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53RecoveryReadiness;
var resourceProperty = new ResourceProperty {
ComponentId = "componentId",
DnsTargetResource = new DNSTargetResourceProperty {
DomainName = "domainName",
HostedZoneArn = "hostedZoneArn",
RecordSetId = "recordSetId",
RecordType = "recordType",
TargetResource = new TargetResourceProperty {
NlbResource = new NLBResourceProperty {
Arn = "arn"
},
R53Resource = new R53ResourceRecordProperty {
DomainName = "domainName",
RecordSetId = "recordSetId"
}
}
},
ReadinessScopes = new [] { "readinessScopes" },
ResourceArn = "resourceArn"
};
Properties
ComponentId
The component identifier of the resource, generated when DNS target resource is used.
public string? ComponentId { get; set; }
Property Value
Remarks
DnsTargetResource
A component for DNS/routing control readiness checks.
public object? DnsTargetResource { get; set; }
Property Value
Remarks
This is a required setting when ResourceSet ResourceSetType is set to AWS::Route53RecoveryReadiness::DNSTargetResource . Do not set it for any other ResourceSetType setting.
Type union: either IResolvable or CfnResourceSet.IDNSTargetResourceProperty
ReadinessScopes
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to.
public string[]? ReadinessScopes { get; set; }
Property Value
string[]
Remarks
ResourceArn
The Amazon Resource Name (ARN) of the AWS resource.
public string? ResourceArn { get; set; }
Property Value
Remarks
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 .