java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:08.981Z") @Stability(Stable) public class CfnRecoveryGroup extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 software.constructs.Construct scope, @NotNull String id, @Nullable CfnRecoveryGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnRecoveryGroup

      @Stability(Stable) public CfnRecoveryGroup(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrRecoveryGroupArn

      @Stability(Stable) @NotNull public String getAttrRecoveryGroupArn()
      The Amazon Resource Name (ARN) of the recovery group.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getCells

      @Stability(Stable) @Nullable public List<String> getCells()
      A list of the cell Amazon Resource Names (ARNs) in the recovery group.
    • setCells

      @Stability(Stable) public void setCells(@Nullable List<String> value)
      A list of the cell Amazon Resource Names (ARNs) in the recovery group.
    • getRecoveryGroupName

      @Stability(Stable) @Nullable public String getRecoveryGroupName()
      The name of the recovery group to create.
    • setRecoveryGroupName

      @Stability(Stable) public void setRecoveryGroupName(@Nullable String value)
      The name of the recovery group to create.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A collection of tags associated with a resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A collection of tags associated with a resource.