AWS::Neptune::DBClusterThe AWS::Neptune::DBCluster resource creates an Amazon Neptune DB cluster.
25 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AssociatedRoles | Array<DBClusterRole> | |
AvailabilityZones | Array<string> | Create-only |
BackupRetentionPeriod | integer | |
CopyTagsToSnapshot | boolean | |
DBClusterIdentifier | string | Create-only |
DBClusterParameterGroupName | string | |
DBInstanceParameterGroupName | string | Write-only |
DBPort | integer | |
DBSubnetGroupName | string | Create-only |
DeletionProtection | boolean | |
EnableCloudwatchLogsExports | Array<string> | |
EngineVersion | string | |
IamAuthEnabled | boolean | |
KmsKeyId | string | Create-only |
PreferredBackupWindow | string | |
PreferredMaintenanceWindow | string | |
RestoreToTime | string | Create-onlyWrite-only |
RestoreType | string | Create-onlyWrite-only |
ServerlessScalingConfiguration | ServerlessScalingConfiguration | |
SnapshotIdentifier | string | Create-onlyWrite-only |
SourceDBClusterIdentifier | string | Create-onlyWrite-only |
StorageEncrypted | boolean | Create-only |
Tags | Array<Tag> | |
UseLatestRestorableTime | boolean | Create-onlyWrite-only |
VpcSecurityGroupIds | Array<string> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ClusterResourceId | string | The resource id for the DB cluster. For example: `cluster-ABCD1234EFGH5678IJKL90MNOP`. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies. |
Endpoint | string | The connection endpoint for the DB cluster. For example: `mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com` |
Port | string | The port number on which the DB cluster accepts connections. For example: `8182`. |
ReadEndpoint | string | The reader endpoint for the DB cluster. For example: `mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com` |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Neptune::DBCluster
Resources:
MyResource:
Type: AWS::Neptune::DBCluster
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRoleiam:CreateServiceLinkedRolerds:AddRoleToDBClusterrds:AddTagsToResourcerds:CreateDBClusterrds:CreateDBInstancerds:DescribeDBClustersrds:ListTagsForResourcerds:DescribeDBClustersrds:ListTagsForResourcekms:CreateGrantkms:DescribeKeyec2:DescribeSecurityGroupsiam:PassRolerds:AddRoleToDBClusterrds:AddTagsToResourcerds:DescribeDBClustersrds:DescribeDBInstancesrds:DescribeDBSubnetGroupsrds:DescribeGlobalClustersrds:DeleteDBClusterrds:DeleteDBInstancerds:DescribeDBClustersrds:DescribeGlobalClustersrds:ListTagsForResourcerds:RemoveFromGlobalClusterrds:CreateDBClusterSnapshotkms:CreateGrantrds:DescribeDBClustersrds:ListTagsForResourcekms:CreateGrantkms:DescribeKeyOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterDBClusterIdentifierThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AvailabilityZonesDBClusterIdentifierDBSubnetGroupNameKmsKeyIdRestoreToTimeRestoreTypeSnapshotIdentifierSourceDBClusterIdentifierStorageEncryptedUseLatestRestorableTime