AmazonDocDBElasticFullAccess
Description: Provides full access to Amazon DocumentDB Elastic Clusters and other required permissions for its dependencies including EC2, KMS, SecretsManager, CloudWatch and IAM.
AmazonDocDBElasticFullAccess
is an AWS managed policy.
Using this policy
You can attach AmazonDocDBElasticFullAccess
to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: June 05, 2023, 13:51 UTC
-
Edited time: June 21, 2023, 18:05 UTC
-
ARN:
arn:aws:iam::aws:policy/AmazonDocDBElasticFullAccess
Policy version
Policy version: v2 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "docdb-elastic:CreateCluster", "docdb-elastic:UpdateCluster", "docdb-elastic:GetCluster", "docdb-elastic:DeleteCluster", "docdb-elastic:ListClusters", "docdb-elastic:CreateClusterSnapshot", "docdb-elastic:GetClusterSnapshot", "docdb-elastic:DeleteClusterSnapshot", "docdb-elastic:ListClusterSnapshots", "docdb-elastic:RestoreClusterFromSnapshot", "docdb-elastic:TagResource", "docdb-elastic:UntagResource", "docdb-elastic:ListTagsForResource" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:CreateVpcEndpoint", "ec2:DescribeVpcEndpoints", "ec2:DeleteVpcEndpoints", "ec2:ModifyVpcEndpoint", "ec2:DescribeVpcAttribute", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "ec2:DescribeAvailabilityZones", "secretsmanager:ListSecrets" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "aws:CalledViaFirst" : "docdb-elastic.amazonaws.com" } } }, { "Effect" : "Allow", "Action" : [ "kms:Decrypt", "kms:DescribeKey", "kms:GenerateDataKey" ], "Resource" : "*", "Condition" : { "StringLike" : { "kms:ViaService" : [ "docdb-elastic.*.amazonaws.com" ], "aws:ResourceTag/DocDBElasticFullAccess" : "*" } } }, { "Effect" : "Allow", "Action" : [ "kms:CreateGrant" ], "Resource" : "*", "Condition" : { "StringLike" : { "aws:ResourceTag/DocDBElasticFullAccess" : "*", "kms:ViaService" : [ "docdb-elastic.*.amazonaws.com" ] }, "Bool" : { "kms:GrantIsForAWSResource" : true } } }, { "Effect" : "Allow", "Action" : [ "secretsmanager:ListSecretVersionIds", "secretsmanager:DescribeSecret", "secretsmanager:GetSecretValue", "secretsmanager:GetResourcePolicy" ], "Resource" : "*", "Condition" : { "StringLike" : { "secretsmanager:ResourceTag/DocDBElasticFullAccess" : "*" }, "StringEquals" : { "aws:CalledViaFirst" : "docdb-elastic.amazonaws.com" } } }, { "Effect" : "Allow", "Action" : [ "cloudwatch:GetMetricData", "cloudwatch:ListMetrics", "cloudwatch:GetMetricStatistics" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : "iam:CreateServiceLinkedRole", "Resource" : "arn:aws:iam::*:role/aws-service-role/docdb-elastic.amazonaws.com/AWSServiceRoleForDocDB-Elastic", "Condition" : { "StringLike" : { "iam:AWSServiceName" : "docdb-elastic.amazonaws.com" } } } ] }