Class CfnResourceSetProps
Properties for defining a CfnResourceSet
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.AWS.Route53RecoveryReadiness.dll
Syntax (csharp)
public class CfnResourceSetProps : Object, ICfnResourceSetProps
Syntax (vb)
Public Class CfnResourceSetProps
Inherits Object
Implements ICfnResourceSetProps
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 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
Resources | A list of resource objects in the resource set. |
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:. |
Tags | A tag to associate with the parameters for a resource set. |
Constructors
CfnResourceSetProps()
public CfnResourceSetProps()
Properties
Resources
A list of resource objects in the resource set.
public object Resources { get; set; }
Property Value
System.Object
Remarks
ResourceSetName
The name of the resource set to create.
public string ResourceSetName { get; set; }
Property Value
System.String
Remarks
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
System.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.
Tags
A tag to associate with the parameters for a resource set.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]