AWS::DocDBElastic::ClusterSnapshot

DocDBElastic ClusterSnapshot

Resource Type definition for AWS::DocDBElastic::ClusterSnapshot. Creates a manual snapshot of an Amazon DocumentDB elastic cluster.

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
ClusterArn
string
RequiredCreate-only
SnapshotName
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AdminUserNamestringThe name of the elastic cluster administrator.
ClusterCreationTimestringThe time when the source elastic cluster was created, in Universal Coordinated Time (UTC).
KmsKeyIdstringThe KMS key identifier used to encrypt the source elastic cluster.
SnapshotArnstringThe Amazon Resource Name (ARN) of the elastic cluster snapshot.
SnapshotCreationTimestringThe time when the elastic cluster snapshot was created, in Universal Coordinated Time (UTC).
SnapshotTypestringThe type of the elastic cluster snapshot (manual or automated).
StatusstringThe status of the elastic cluster snapshot.
SubnetIdsArray<string>The Amazon EC2 subnet IDs associated with the source elastic cluster.
VpcSecurityGroupIdsArray<string>The Amazon EC2 security group IDs associated with the source elastic cluster.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DocDBElastic::ClusterSnapshot

Resources:
  MyResource:
    Type: AWS::DocDBElastic::ClusterSnapshot
    Properties:
      ClusterArn: "arn:aws:service:region:account:resource"
      SnapshotName: "my-snapshotname"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

docdb-elastic:CreateClusterSnapshotdocdb-elastic:GetClusterSnapshotdocdb-elastic:TagResource

read

docdb-elastic:GetClusterSnapshotdocdb-elastic:ListTagsForResource

update

docdb-elastic:GetClusterSnapshotdocdb-elastic:TagResourcedocdb-elastic:UntagResourcedocdb-elastic:ListTagsForResource

delete

docdb-elastic:DeleteClusterSnapshotdocdb-elastic:GetClusterSnapshot

list

docdb-elastic:ListClusterSnapshots

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceDocDBElastic
Properties12
Required2
TaggingSupported
Primary IDSnapshotArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ClusterArnSnapshotName

Related Resources

External Links