Class CfnRecoveryGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.037Z")
@Stability(Stable)
public class CfnRecoveryGroup
extends CfnResource
implements IInspectable
A CloudFormation
AWS::Route53RecoveryReadiness::RecoveryGroup.
Creates a recovery group in Amazon Route 53 Application Recovery Controller. 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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53recoveryreadiness.*;
CfnRecoveryGroup cfnRecoveryGroup = CfnRecoveryGroup.Builder.create(this, "MyCfnRecoveryGroup")
.cells(List.of("cells"))
.recoveryGroupName("recoveryGroupName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnRecoveryGroup(Construct scope, String id) Create a newAWS::Route53RecoveryReadiness::RecoveryGroup.CfnRecoveryGroup(Construct scope, String id, CfnRecoveryGroupProps props) Create a newAWS::Route53RecoveryReadiness::RecoveryGroup.protectedCfnRecoveryGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRecoveryGroup(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the recovery group.getCells()A list of the cell Amazon Resource Names (ARNs) in the recovery group.The name of the recovery group to create.getTags()A collection of tags associated with a resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidA list of the cell Amazon Resource Names (ARNs) in the recovery group.voidsetRecoveryGroupName(String value) The name of the recovery group to create.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRecoveryGroup
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRecoveryGroup
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRecoveryGroup
@Stability(Stable) public CfnRecoveryGroup(@NotNull Construct scope, @NotNull String id, @Nullable CfnRecoveryGroupProps props) Create a newAWS::Route53RecoveryReadiness::RecoveryGroup.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnRecoveryGroup
Create a newAWS::Route53RecoveryReadiness::RecoveryGroup.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrRecoveryGroupArn
The Amazon Resource Name (ARN) of the recovery group. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
A collection of tags associated with a resource. -
getCells
A list of the cell Amazon Resource Names (ARNs) in the recovery group. -
setCells
A list of the cell Amazon Resource Names (ARNs) in the recovery group. -
getRecoveryGroupName
The name of the recovery group to create. -
setRecoveryGroupName
The name of the recovery group to create.
-