Show / Hide Table of Contents

Class CfnResourceSetProps

Properties for defining a CfnResourceSet.

Inheritance
object
CfnResourceSetProps
Implements
ICfnResourceSetProps
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 CfnResourceSetProps : ICfnResourceSetProps
Syntax (vb)
Public Class CfnResourceSetProps Implements ICfnResourceSetProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.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 cfnResourceSetProps = new CfnResourceSetProps {
                 Resources = new [] { 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"
                 } },
                 ResourceSetType = "resourceSetType",

                 // the properties below are optional
                 ResourceSetName = "resourceSetName",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnResourceSetProps()

Properties for defining a CfnResourceSet.

Properties

ResourceSetName

The name of the resource set to create.

ResourceSetType

The resource type of the resources in the resource set. Enter one of the following values for resource type:.

Resources

A list of resource objects in the resource set.

Tags

A tag to associate with the parameters for a resource set.

Constructors

CfnResourceSetProps()

Properties for defining a CfnResourceSet.

public CfnResourceSetProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.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 cfnResourceSetProps = new CfnResourceSetProps {
                 Resources = new [] { 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"
                 } },
                 ResourceSetType = "resourceSetType",

                 // the properties below are optional
                 ResourceSetName = "resourceSetName",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

ResourceSetName

The name of the resource set to create.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resourcesetname

ResourceSetType

The resource type of the resources in the resource set. Enter one of the following values for resource type:.

public string ResourceSetType { get; set; }
Property Value

string

Remarks

AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource.

Note that AWS::Route53RecoveryReadiness::DNSTargetResource is only used for this setting. It isn't an actual AWS CloudFormation resource type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resourcesettype

Resources

A list of resource objects in the resource set.

public object Resources { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resources

Type union: either IResolvable or (either IResolvable or CfnResourceSet.IResourceProperty)[]

Tags

A tag to associate with the parameters for a resource set.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-tags

Implements

ICfnResourceSetProps
Back to top Generated by DocFX