Class CfnResourceSet.ResourceProperty
The resource element of a resource set.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.AWS.Route53RecoveryReadiness.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
| ResourceProperty() |
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()
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.String
Remarks
DnsTargetResource
A component for DNS/routing control readiness checks.
public object DnsTargetResource { get; set; }
Property Value
System.Object
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.String[]
Remarks
ResourceArn
The Amazon Resource Name (ARN) of the AWS resource.
public string ResourceArn { get; set; }
Property Value
System.String
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 .