clusters
Retrieves a list of clusters
in a region
Overview
Name | clusters |
Type | Resource |
Description | clusters |
Id | awscc.docdbelastic.clusters |
Fields
Name | Datatype | Description |
---|---|---|
cluster_arn | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
cluster_arn
FROM awscc.docdbelastic.clusters
WHERE region = 'us-east-1'
Permissions
To operate on the clusters
resource, the following permissions are required:
Create
docdb-elastic:CreateCluster,
ec2:CreateVpcEndpoint,
ec2:DescribeVpcEndpoints,
ec2:DeleteVpcEndpoints,
ec2:ModifyVpcEndpoint,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcAttribute,
ec2:DescribeVpcs,
ec2:DescribeAvailabilityZones,
secretsmanager:ListSecrets,
secretsmanager:ListSecretVersionIds,
secretsmanager:DescribeSecret,
secretsmanager:GetSecretValue,
secretsmanager:GetResourcePolicy,
kms:DescribeKey,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt,
iam:CreateServiceLinkedRole
List
docdb-elastic:ListClusters