Class CfnDBCluster
The AWS::RDS::DBCluster
resource creates an Amazon Aurora DB cluster or Multi-AZ DB cluster.
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBCluster : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnDBCluster
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For more information about creating an Aurora DB cluster, see Creating an Amazon Aurora DB cluster in the Amazon Aurora User Guide .
For more information about creating a Multi-AZ DB cluster, see Creating a Multi-AZ DB cluster in the Amazon RDS User Guide .
You can only create this resource in AWS Regions where Amazon Aurora or Multi-AZ DB clusters are supported.
Updating DB clusters
When properties labeled " Update requires: Replacement " are updated, AWS CloudFormation first creates a replacement DB cluster, then changes references from other dependent resources to point to the replacement DB cluster, and finally deletes the old DB cluster.
We highly recommend that you take a snapshot of the database before updating the stack. If you don't, you lose the data when AWS CloudFormation replaces your DB cluster. To preserve your data, perform the following procedure:
After you restore a DB cluster with a SnapshotIdentifier
property, you must specify the same SnapshotIdentifier
property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the DB cluster snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier
property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB cluster is restored from the specified SnapshotIdentifier
property, and the original DB cluster is deleted.
Currently, when you are updating the stack for an Aurora Serverless DB cluster, you can't include changes to any other properties when you specify one of the following properties: PreferredBackupWindow
, PreferredMaintenanceWindow
, and Port
. This limitation doesn't apply to provisioned DB clusters.
For more information about updating other properties of this resource, see ModifyDBCluster
. For more information about updating stacks, see AWS CloudFormation Stacks Updates .
Deleting DB clusters
The default DeletionPolicy
for AWS::RDS::DBCluster
resources is Snapshot
. For more information about how AWS CloudFormation deletes resources, see DeletionPolicy Attribute .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html
CloudformationResource: AWS::RDS::DBCluster
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var cfnDBCluster = new CfnDBCluster(this, "MyCfnDBCluster", new CfnDBClusterProps {
AllocatedStorage = 123,
AssociatedRoles = new [] { new DBClusterRoleProperty {
RoleArn = "roleArn",
// the properties below are optional
FeatureName = "featureName"
} },
AutoMinorVersionUpgrade = false,
AvailabilityZones = new [] { "availabilityZones" },
BacktrackWindow = 123,
BackupRetentionPeriod = 123,
CopyTagsToSnapshot = false,
DatabaseName = "databaseName",
DbClusterIdentifier = "dbClusterIdentifier",
DbClusterInstanceClass = "dbClusterInstanceClass",
DbClusterParameterGroupName = "dbClusterParameterGroupName",
DbInstanceParameterGroupName = "dbInstanceParameterGroupName",
DbSubnetGroupName = "dbSubnetGroupName",
DbSystemId = "dbSystemId",
DeletionProtection = false,
Domain = "domain",
DomainIamRoleName = "domainIamRoleName",
EnableCloudwatchLogsExports = new [] { "enableCloudwatchLogsExports" },
EnableGlobalWriteForwarding = false,
EnableHttpEndpoint = false,
EnableIamDatabaseAuthentication = false,
EnableLocalWriteForwarding = false,
Engine = "engine",
EngineLifecycleSupport = "engineLifecycleSupport",
EngineMode = "engineMode",
EngineVersion = "engineVersion",
GlobalClusterIdentifier = "globalClusterIdentifier",
Iops = 123,
KmsKeyId = "kmsKeyId",
ManageMasterUserPassword = false,
MasterUsername = "masterUsername",
MasterUserPassword = "masterUserPassword",
MasterUserSecret = new MasterUserSecretProperty {
KmsKeyId = "kmsKeyId",
SecretArn = "secretArn"
},
MonitoringInterval = 123,
MonitoringRoleArn = "monitoringRoleArn",
NetworkType = "networkType",
PerformanceInsightsEnabled = false,
PerformanceInsightsKmsKeyId = "performanceInsightsKmsKeyId",
PerformanceInsightsRetentionPeriod = 123,
Port = 123,
PreferredBackupWindow = "preferredBackupWindow",
PreferredMaintenanceWindow = "preferredMaintenanceWindow",
PubliclyAccessible = false,
ReplicationSourceIdentifier = "replicationSourceIdentifier",
RestoreToTime = "restoreToTime",
RestoreType = "restoreType",
ScalingConfiguration = new ScalingConfigurationProperty {
AutoPause = false,
MaxCapacity = 123,
MinCapacity = 123,
SecondsBeforeTimeout = 123,
SecondsUntilAutoPause = 123,
TimeoutAction = "timeoutAction"
},
ServerlessV2ScalingConfiguration = new ServerlessV2ScalingConfigurationProperty {
MaxCapacity = 123,
MinCapacity = 123
},
SnapshotIdentifier = "snapshotIdentifier",
SourceDbClusterIdentifier = "sourceDbClusterIdentifier",
SourceRegion = "sourceRegion",
StorageEncrypted = false,
StorageType = "storageType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UseLatestRestorableTime = false,
VpcSecurityGroupIds = new [] { "vpcSecurityGroupIds" }
});
Synopsis
Constructors
CfnDBCluster(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDBCluster(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDBCluster(Construct, String, ICfnDBClusterProps) |
Properties
AllocatedStorage | The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. |
AssociatedRoles | Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. |
AttrDbClusterArn | The Amazon Resource Name (ARN) for the DB cluster. |
AttrDbClusterResourceId | The AWS Region -unique, immutable identifier for the DB cluster. |
AttrEndpoint | The |
AttrEndpointAddress | The connection endpoint for the DB cluster. |
AttrEndpointPort | The port number that will accept connections on this DB cluster. |
AttrMasterUserSecretSecretArn | The Amazon Resource Name (ARN) of the secret. |
AttrReadEndpoint | The |
AttrReadEndpointAddress | The reader endpoint for the DB cluster. |
AttrStorageThroughput | The storage throughput for the DB cluster. |
AutoMinorVersionUpgrade | Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. |
AvailabilityZones | A list of Availability Zones (AZs) where instances in the DB cluster can be created. |
BacktrackWindow | The target backtrack window, in seconds. |
BackupRetentionPeriod | The number of days for which automated backups are retained. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CopyTagsToSnapshot | A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. |
DatabaseName | The name of your database. |
DbClusterIdentifier | The DB cluster identifier. |
DbClusterInstanceClass | The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example |
DbClusterParameterGroupName | The name of the DB cluster parameter group to associate with this DB cluster. |
DbInstanceParameterGroupName | The name of the DB parameter group to apply to all instances of the DB cluster. |
DbSubnetGroupName | A DB subnet group that you want to associate with this DB cluster. |
DbSystemId | Reserved for future use. |
DeletionProtection | A value that indicates whether the DB cluster has deletion protection enabled. |
Domain | Indicates the directory ID of the Active Directory to create the DB cluster. |
DomainIamRoleName | Specifies the name of the IAM role to use when making API calls to the Directory Service. |
EnableCloudwatchLogsExports | The list of log types that need to be enabled for exporting to CloudWatch Logs. |
EnableGlobalWriteForwarding | Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). |
EnableHttpEndpoint | Specifies whether to enable the HTTP endpoint for the DB cluster. |
EnableIamDatabaseAuthentication | A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. |
EnableLocalWriteForwarding | Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. |
Engine | The name of the database engine to be used for this DB cluster. |
EngineLifecycleSupport | The life cycle type for this DB cluster. |
EngineMode | The DB engine mode of the DB cluster, either |
EngineVersion | The version number of the database engine to use. |
GlobalClusterIdentifier | If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. |
Iops | The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. |
KmsKeyId | The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as |
ManageMasterUserPassword | Specifies whether to manage the master user password with AWS Secrets Manager. |
MasterUsername | The name of the master user for the DB cluster. |
MasterUserPassword | The master password for the DB instance. |
MasterUserSecret | The secret managed by RDS in AWS Secrets Manager for the master user password. |
MonitoringInterval | The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. |
MonitoringRoleArn | The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. |
NetworkType | The network type of the DB cluster. |
PerformanceInsightsEnabled | Specifies whether to turn on Performance Insights for the DB cluster. |
PerformanceInsightsKmsKeyId | The AWS KMS key identifier for encryption of Performance Insights data. |
PerformanceInsightsRetentionPeriod | The number of days to retain Performance Insights data. |
Port | The port number on which the DB instances in the DB cluster accept connections. |
PreferredBackupWindow | The daily time range during which automated backups are created. |
PreferredMaintenanceWindow | The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). |
PubliclyAccessible | Specifies whether the DB cluster is publicly accessible. |
ReplicationSourceIdentifier | The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica. |
RestoreToTime | The date and time to restore the DB cluster to. |
RestoreType | The type of restore to be performed. |
ScalingConfiguration | The scaling configuration of an Aurora Serverless v1 DB cluster. |
ServerlessV2ScalingConfiguration | The scaling configuration of an Aurora Serverless V2 DB cluster. |
SnapshotIdentifier | The identifier for the DB snapshot or DB cluster snapshot to restore from. |
SourceDbClusterIdentifier | When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore. |
SourceRegion | The AWS Region which contains the source DB cluster when replicating a DB cluster. |
StorageEncrypted | Indicates whether the DB cluster is encrypted. |
StorageType | The storage type to associate with the DB cluster. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Tags to assign to the DB cluster. |
UseLatestRestorableTime | A value that indicates whether to restore the DB cluster to the latest restorable backup time. |
VpcSecurityGroupIds | A list of EC2 VPC security groups to associate with this DB cluster. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDBCluster(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDBCluster(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDBCluster(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDBCluster(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDBCluster(Construct, String, ICfnDBClusterProps)
public CfnDBCluster(Construct scope, string id, ICfnDBClusterProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDBClusterProps
Resource properties.
Properties
AllocatedStorage
The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
public virtual Nullable<double> AllocatedStorage { get; set; }
Property Value
System.Nullable<System.Double>
AssociatedRoles
Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster.
public virtual object AssociatedRoles { get; set; }
Property Value
System.Object
AttrDbClusterArn
The Amazon Resource Name (ARN) for the DB cluster.
public virtual string AttrDbClusterArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: DBClusterArn
AttrDbClusterResourceId
The AWS Region -unique, immutable identifier for the DB cluster.
public virtual string AttrDbClusterResourceId { get; }
Property Value
System.String
Remarks
This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster is accessed.
CloudformationAttribute: DBClusterResourceId
AttrEndpoint
The Endpoint
return value specifies the connection endpoint for the primary instance of the DB cluster.
public virtual IResolvable AttrEndpoint { get; }
Property Value
Remarks
CloudformationAttribute: Endpoint
AttrEndpointAddress
The connection endpoint for the DB cluster.
public virtual string AttrEndpointAddress { get; }
Property Value
System.String
Remarks
For example: mystack-mydbcluster-123456789012.us-east-2.rds.amazonaws.com
CloudformationAttribute: Endpoint.Address
AttrEndpointPort
The port number that will accept connections on this DB cluster.
public virtual string AttrEndpointPort { get; }
Property Value
System.String
Remarks
For example: 3306
CloudformationAttribute: Endpoint.Port
AttrMasterUserSecretSecretArn
The Amazon Resource Name (ARN) of the secret.
public virtual string AttrMasterUserSecretSecretArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: MasterUserSecret.SecretArn
AttrReadEndpoint
The ReadEndpoint
return value specifies the reader endpoint for the DB cluster.
public virtual IResolvable AttrReadEndpoint { get; }
Property Value
Remarks
The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster. If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint. For more information about Aurora endpoints, see Amazon Aurora connection management in the Amazon Aurora User Guide.
CloudformationAttribute: ReadEndpoint
AttrReadEndpointAddress
The reader endpoint for the DB cluster.
public virtual string AttrReadEndpointAddress { get; }
Property Value
System.String
Remarks
For example: mystack-mydbcluster-ro-123456789012.us-east-2.rds.amazonaws.com
CloudformationAttribute: ReadEndpoint.Address
AttrStorageThroughput
The storage throughput for the DB cluster.
public virtual double AttrStorageThroughput { get; }
Property Value
System.Double
Remarks
The throughput is automatically set based on the IOPS that you provision, and is not configurable.
This setting is only for non-Aurora Multi-AZ DB clusters.
CloudformationAttribute: StorageThroughput
AutoMinorVersionUpgrade
Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.
public virtual object AutoMinorVersionUpgrade { get; set; }
Property Value
System.Object
AvailabilityZones
A list of Availability Zones (AZs) where instances in the DB cluster can be created.
public virtual string[] AvailabilityZones { get; set; }
Property Value
System.String[]
BacktrackWindow
The target backtrack window, in seconds.
public virtual Nullable<double> BacktrackWindow { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
To disable backtracking, set this value to 0
.
BackupRetentionPeriod
The number of days for which automated backups are retained.
public virtual Nullable<double> BackupRetentionPeriod { get; set; }
Property Value
System.Nullable<System.Double>
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
CopyTagsToSnapshot
A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster.
public virtual object CopyTagsToSnapshot { get; set; }
Property Value
System.Object
DatabaseName
The name of your database.
public virtual string DatabaseName { get; set; }
Property Value
System.String
DbClusterIdentifier
The DB cluster identifier.
public virtual string DbClusterIdentifier { get; set; }
Property Value
System.String
Remarks
This parameter is stored as a lowercase string.
DbClusterInstanceClass
The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6gd.xlarge
. Not all DB instance classes are available in all AWS Regions , or for all database engines.
public virtual string DbClusterInstanceClass { get; set; }
Property Value
System.String
DbClusterParameterGroupName
The name of the DB cluster parameter group to associate with this DB cluster.
public virtual string DbClusterParameterGroupName { get; set; }
Property Value
System.String
DbInstanceParameterGroupName
The name of the DB parameter group to apply to all instances of the DB cluster.
public virtual string DbInstanceParameterGroupName { get; set; }
Property Value
System.String
DbSubnetGroupName
A DB subnet group that you want to associate with this DB cluster.
public virtual string DbSubnetGroupName { get; set; }
Property Value
System.String
DbSystemId
Reserved for future use.
public virtual string DbSystemId { get; set; }
Property Value
System.String
DeletionProtection
A value that indicates whether the DB cluster has deletion protection enabled.
public virtual object DeletionProtection { get; set; }
Property Value
System.Object
Domain
Indicates the directory ID of the Active Directory to create the DB cluster.
public virtual string Domain { get; set; }
Property Value
System.String
DomainIamRoleName
Specifies the name of the IAM role to use when making API calls to the Directory Service.
public virtual string DomainIamRoleName { get; set; }
Property Value
System.String
EnableCloudwatchLogsExports
The list of log types that need to be enabled for exporting to CloudWatch Logs.
public virtual string[] EnableCloudwatchLogsExports { get; set; }
Property Value
System.String[]
EnableGlobalWriteForwarding
Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database).
public virtual object EnableGlobalWriteForwarding { get; set; }
Property Value
System.Object
EnableHttpEndpoint
Specifies whether to enable the HTTP endpoint for the DB cluster.
public virtual object EnableHttpEndpoint { get; set; }
Property Value
System.Object
Remarks
By default, the HTTP endpoint isn't enabled.
EnableIamDatabaseAuthentication
A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
public virtual object EnableIamDatabaseAuthentication { get; set; }
Property Value
System.Object
EnableLocalWriteForwarding
Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster.
public virtual object EnableLocalWriteForwarding { get; set; }
Property Value
System.Object
Engine
The name of the database engine to be used for this DB cluster.
public virtual string Engine { get; set; }
Property Value
System.String
EngineLifecycleSupport
The life cycle type for this DB cluster.
public virtual string EngineLifecycleSupport { get; set; }
Property Value
System.String
EngineMode
The DB engine mode of the DB cluster, either provisioned
or serverless
.
public virtual string EngineMode { get; set; }
Property Value
System.String
EngineVersion
The version number of the database engine to use.
public virtual string EngineVersion { get; set; }
Property Value
System.String
GlobalClusterIdentifier
If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster.
public virtual string GlobalClusterIdentifier { get; set; }
Property Value
System.String
Iops
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
public virtual Nullable<double> Iops { get; set; }
Property Value
System.Nullable<System.Double>
KmsKeyId
The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef
.
public virtual string KmsKeyId { get; set; }
Property Value
System.String
ManageMasterUserPassword
Specifies whether to manage the master user password with AWS Secrets Manager.
public virtual object ManageMasterUserPassword { get; set; }
Property Value
System.Object
MasterUsername
The name of the master user for the DB cluster.
public virtual string MasterUsername { get; set; }
Property Value
System.String
MasterUserPassword
The master password for the DB instance.
public virtual string MasterUserPassword { get; set; }
Property Value
System.String
MasterUserSecret
The secret managed by RDS in AWS Secrets Manager for the master user password.
public virtual object MasterUserSecret { get; set; }
Property Value
System.Object
MonitoringInterval
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster.
public virtual Nullable<double> MonitoringInterval { get; set; }
Property Value
System.Nullable<System.Double>
MonitoringRoleArn
The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
public virtual string MonitoringRoleArn { get; set; }
Property Value
System.String
NetworkType
The network type of the DB cluster.
public virtual string NetworkType { get; set; }
Property Value
System.String
PerformanceInsightsEnabled
Specifies whether to turn on Performance Insights for the DB cluster.
public virtual object PerformanceInsightsEnabled { get; set; }
Property Value
System.Object
PerformanceInsightsKmsKeyId
The AWS KMS key identifier for encryption of Performance Insights data.
public virtual string PerformanceInsightsKmsKeyId { get; set; }
Property Value
System.String
PerformanceInsightsRetentionPeriod
The number of days to retain Performance Insights data.
public virtual Nullable<double> PerformanceInsightsRetentionPeriod { get; set; }
Property Value
System.Nullable<System.Double>
Port
The port number on which the DB instances in the DB cluster accept connections.
public virtual Nullable<double> Port { get; set; }
Property Value
System.Nullable<System.Double>
PreferredBackupWindow
The daily time range during which automated backups are created.
public virtual string PreferredBackupWindow { get; set; }
Property Value
System.String
PreferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
public virtual string PreferredMaintenanceWindow { get; set; }
Property Value
System.String
PubliclyAccessible
Specifies whether the DB cluster is publicly accessible.
public virtual object PubliclyAccessible { get; set; }
Property Value
System.Object
ReplicationSourceIdentifier
The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica.
public virtual string ReplicationSourceIdentifier { get; set; }
Property Value
System.String
RestoreToTime
The date and time to restore the DB cluster to.
public virtual string RestoreToTime { get; set; }
Property Value
System.String
RestoreType
The type of restore to be performed.
public virtual string RestoreType { get; set; }
Property Value
System.String
Remarks
You can specify one of the following values:.
ScalingConfiguration
The scaling configuration of an Aurora Serverless v1 DB cluster.
public virtual object ScalingConfiguration { get; set; }
Property Value
System.Object
ServerlessV2ScalingConfiguration
The scaling configuration of an Aurora Serverless V2 DB cluster.
public virtual object ServerlessV2ScalingConfiguration { get; set; }
Property Value
System.Object
SnapshotIdentifier
The identifier for the DB snapshot or DB cluster snapshot to restore from.
public virtual string SnapshotIdentifier { get; set; }
Property Value
System.String
SourceDbClusterIdentifier
When restoring a DB cluster to a point in time, the identifier of the source DB cluster from which to restore.
public virtual string SourceDbClusterIdentifier { get; set; }
Property Value
System.String
SourceRegion
The AWS Region which contains the source DB cluster when replicating a DB cluster.
public virtual string SourceRegion { get; set; }
Property Value
System.String
Remarks
For example, us-east-1
.
StorageEncrypted
Indicates whether the DB cluster is encrypted.
public virtual object StorageEncrypted { get; set; }
Property Value
System.Object
StorageType
The storage type to associate with the DB cluster.
public virtual string StorageType { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Tags to assign to the DB cluster.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
UseLatestRestorableTime
A value that indicates whether to restore the DB cluster to the latest restorable backup time.
public virtual object UseLatestRestorableTime { get; set; }
Property Value
System.Object
VpcSecurityGroupIds
A list of EC2 VPC security groups to associate with this DB cluster.
public virtual string[] VpcSecurityGroupIds { get; set; }
Property Value
System.String[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>