Class CfnCell
- All Implemented Interfaces:
IInspectable,ITaggable,ICellRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
A cell in Route 53 ARC represents replicas or independent units of failover in your application. It groups within it all the AWS resources that are necessary for your application to run independently. Typically, you would have define one set of resources in a primary cell and another set in a standby cell in your recovery group.
After you set up the cells for your application, you can create readiness checks in Route 53 ARC to continually audit readiness for AWS resource quotas, capacity, network routing policies, and other predefined rules.
You can set up notifications about changes that would affect your ability to fail over to a replica and recover. However, you should make decisions about whether to fail away from or to a replica based on your monitoring and health check systems. You should consider readiness checks as a complementary service to those systems.
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.*;
CfnCell cfnCell = CfnCell.Builder.create(this, "MyCfnCell")
.cellName("cellName")
.cells(List.of("cells"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
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.services.route53recoveryreadiness.ICellRef
ICellRef.Jsii$Default, ICellRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCell(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCell(software.amazon.jsii.JsiiObjectRef objRef) CfnCell(software.constructs.Construct scope, String id, CfnCellProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ICellReffromCellArn(software.constructs.Construct scope, String id, String arn) Creates a new ICellRef from an ARN.static ICellReffromCellName(software.constructs.Construct scope, String id, String cellName) Creates a new ICellRef from a cellName.The ARN of the cell.The readiness scope for the cell, which can be the Amazon Resource Name (ARN) of a cell or the ARN of a recovery group.The name of the cell to create.A reference to a Cell resource.getCells()A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells.getTags()Tag Manager which manages the tags for this resource.A collection of tags associated with a resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCellName(String value) The name of the cell to create.voidA list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells.voidsetTagsRaw(List<CfnTag> value) A collection of tags associated with a resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods 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
-
CfnCell
protected CfnCell(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCell
protected CfnCell(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCell
@Stability(Stable) public CfnCell(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCellProps 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.
-
CfnCell
- 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
-
fromCellArn
@Stability(Stable) @NotNull public static ICellRef fromCellArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new ICellRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromCellName
@Stability(Stable) @NotNull public static ICellRef fromCellName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String cellName) Creates a new ICellRef from a cellName.- Parameters:
scope- This parameter is required.id- This parameter is required.cellName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCellArn
The ARN of the cell. -
getAttrParentReadinessScopes
The readiness scope for the cell, which can be the Amazon Resource Name (ARN) of a cell or the ARN of a recovery group.Although this is a list, it can currently have only one element.
-
getCellRef
A reference to a Cell resource.- Specified by:
getCellRefin interfaceICellRef
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getCellName
The name of the cell to create. -
setCellName
The name of the cell to create. -
getCells
A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. -
setCells
A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. -
getTagsRaw
A collection of tags associated with a resource. -
setTagsRaw
A collection of tags associated with a resource.
-