@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:49.947Z") 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") .cells(List.of("cells")) .recoveryGroupName("recoveryGroupName") .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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnRecoveryGroup(Construct scope,
java.lang.String id)
Create a new `AWS::Route53RecoveryReadiness::RecoveryGroup`.
|
|
CfnRecoveryGroup(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrRecoveryGroupArn()
The Amazon Resource Name (ARN) of the recovery group.
|
java.util.List<java.lang.String> |
getCells()
A list of the cell Amazon Resource Names (ARNs) in the recovery group.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setCells(java.util.List<java.lang.String> value)
A list of the cell Amazon Resource Names (ARNs) in the recovery group.
|
void |
setRecoveryGroupName(java.lang.String value)
The name of the recovery group to create.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRecoveryGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnRecoveryGroup(Construct scope, java.lang.String id, 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.public CfnRecoveryGroup(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrRecoveryGroupArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.util.List<java.lang.String> getCells()
public void setCells(java.util.List<java.lang.String> value)
public java.lang.String getRecoveryGroupName()
public void setRecoveryGroupName(java.lang.String value)