Class CfnResourceSet
A CloudFormation AWS::Route53RecoveryReadiness::ResourceSet
.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.AWS.Route53RecoveryReadiness.dll
Syntax (csharp)
public class CfnResourceSet : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnResourceSet
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a resource set in Amazon Route 53 Application Recovery Controller. A resource set is a set of resources of one type, such as Network Load Balancers, that span multiple cells. You can associate a resource set with a readiness check to have Route 53 ARC continually monitor the resources in the set for failover readiness.
You typically create a resource set and a readiness check for each supported type of AWS resource in your application.
For more information, see Readiness checks, resource sets, and readiness scopes in the Amazon Route 53 Application Recovery Controller Developer Guide.
Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.
CloudformationResource: AWS::Route53RecoveryReadiness::ResourceSet
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 cfnResourceSet = new CfnResourceSet(this, "MyCfnResourceSet", 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
CfnResourceSet(Construct, String, ICfnResourceSetProps) | Create a new |
CfnResourceSet(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResourceSet(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrResourceSetArn | The Amazon Resource Name (ARN) of the resource set. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResourceSet(Construct, String, ICfnResourceSetProps)
Create a new AWS::Route53RecoveryReadiness::ResourceSet
.
public CfnResourceSet(Construct scope, string id, ICfnResourceSetProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnResourceSetProps
- resource properties.
CfnResourceSet(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResourceSet(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResourceSet(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResourceSet(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrResourceSetArn
The Amazon Resource Name (ARN) of the resource set.
public virtual string AttrResourceSetArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceSetArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Resources
A list of resource objects in the resource set.
public virtual object Resources { get; set; }
Property Value
System.Object
Remarks
ResourceSetName
The name of the resource set to create.
public virtual 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 virtual 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 virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>