Class CfnResourceSet.ResourceProperty
The resource element of a resource set.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceProperty : Object, CfnResourceSet.IResourceProperty
Syntax (vb)
Public Class ResourceProperty
Inherits Object
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
Resource |
Properties
Component |
The component identifier of the resource, generated when DNS target resource is used. |
Dns |
A component for DNS/routing control readiness checks. |
Readiness |
The recovery group Amazon Resource Name (ARN) or the cell ARN that the readiness checks for this resource set are scoped to. |
Resource |
The Amazon Resource Name (ARN) of the AWS resource. |
Constructors
ResourceProperty()
public ResourceProperty()
Properties
ComponentId
The component identifier of the resource, generated when DNS target resource is used.
public string ComponentId { get; set; }
Property Value
System.
Remarks
DnsTargetResource
A component for DNS/routing control readiness checks.
public object DnsTargetResource { get; set; }
Property Value
System.
Remarks
This is a required setting when ResourceSet
ResourceSetType
is set to AWS::Route53RecoveryReadiness::DNSTargetResource
. Do not set it for any other ResourceSetType
setting.
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
System.
Remarks
ResourceArn
The Amazon Resource Name (ARN) of the AWS resource.
public string ResourceArn { get; set; }
Property Value
System.
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
.