Show / Hide Table of Contents

Class CfnResourceSet.ResourceProperty

The resource element of a resource set.

Inheritance
object
CfnResourceSet.ResourceProperty
Implements
CfnResourceSet.IResourceProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: 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()

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

See: 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"
             };

Properties

ComponentId

The component identifier of the resource, generated when DNS target resource is used.

public string? ComponentId { get; set; }
Property Value

string

Remarks

See: 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

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.

See: 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

string[]

Remarks

See: 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

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 .

See: 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