@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.694Z") @Stability(value=Stable) public class CfnRecoveryGroup extends CfnResource implements IInspectable
Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.
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")
.recoveryGroupName("recoveryGroupName")
// the properties below are optional
.cells(List.of("cells"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRecoveryGroup.Builder
A fluent builder for
CfnRecoveryGroup. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRecoveryGroup(software.constructs.Construct scope,
String id,
CfnRecoveryGroupProps props)
Create a new `AWS::Route53RecoveryReadiness::RecoveryGroup`.
|
protected |
CfnRecoveryGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRecoveryGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrRecoveryGroupArn()
The Amazon Resource Name (ARN) of the recovery group.
|
List<String> |
getCells()
A list of the cell Amazon Resource Names (ARNs) in the recovery group.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getRecoveryGroupName()
The name of the recovery group to create.
|
TagManager |
getTags()
A collection of tags associated with a resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCells(List<String> value)
A list of the cell Amazon Resource Names (ARNs) in the recovery group.
|
void |
setRecoveryGroupName(String value)
The name of the recovery group to create.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRecoveryGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnRecoveryGroupProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrRecoveryGroupArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getRecoveryGroupName()
@Stability(value=Stable)
public void setRecoveryGroupName(@NotNull
String value)
@Stability(value=Stable) @Nullable public List<String> getCells()
Copyright © 2022. All rights reserved.