Class CfnRecoveryGroup
Creates a recovery group in Amazon Route 53 Application Recovery Controller.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRecoveryGroup : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnRecoveryGroup
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A recovery group represents your application. It typically consists of two or more cells that are replicas of each other in terms of resources and functionality, so that you can fail over from one to the other, for example, from one Region to another. You create recovery groups so you can use readiness checks to audit resources 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::RecoveryGroup
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 cfnRecoveryGroup = new CfnRecoveryGroup(this, "MyCfnRecoveryGroup", new CfnRecoveryGroupProps {
Cells = new [] { "cells" },
RecoveryGroupName = "recoveryGroupName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRecoveryGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRecoveryGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnRecoveryGroup(Construct, String, ICfnRecoveryGroupProps) |
Properties
AttrRecoveryGroupArn | The Amazon Resource Name (ARN) of the recovery group. |
Cells | A list of the cell Amazon Resource Names (ARNs) in the recovery group. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
RecoveryGroupName | The name of the recovery group to create. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A collection of tags associated with a resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRecoveryGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRecoveryGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRecoveryGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRecoveryGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnRecoveryGroup(Construct, String, ICfnRecoveryGroupProps)
public CfnRecoveryGroup(Construct scope, string id, ICfnRecoveryGroupProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnRecoveryGroupProps
Resource properties.
Properties
AttrRecoveryGroupArn
The Amazon Resource Name (ARN) of the recovery group.
public virtual string AttrRecoveryGroupArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: RecoveryGroupArn
Cells
A list of the cell Amazon Resource Names (ARNs) in the recovery group.
public virtual string[] Cells { get; set; }
Property Value
System.String[]
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
RecoveryGroupName
The name of the recovery group to create.
public virtual string RecoveryGroupName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A collection of tags associated with a resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>