Show / Hide Table of Contents

Class CfnResourceSet.ResourceProperty

The resource element of a resource set.

Inheritance
System.Object
CfnResourceSet.ResourceProperty
Implements
CfnResourceSet.IResourceProperty
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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-componentid

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-dnstargetresource

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-readinessscopes

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 .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-resourcearn

Implements

CfnResourceSet.IResourceProperty
Back to top Generated by DocFX