CfnDBClusterProps

class aws_cdk.aws_rds.CfnDBClusterProps(*, engine, associated_roles=None, availability_zones=None, backtrack_window=None, backup_retention_period=None, database_name=None, db_cluster_identifier=None, db_cluster_parameter_group_name=None, db_subnet_group_name=None, deletion_protection=None, enable_cloudwatch_logs_exports=None, enable_http_endpoint=None, enable_iam_database_authentication=None, engine_mode=None, engine_version=None, kms_key_id=None, master_username=None, master_user_password=None, port=None, preferred_backup_window=None, preferred_maintenance_window=None, replication_source_identifier=None, restore_type=None, scaling_configuration=None, snapshot_identifier=None, source_db_cluster_identifier=None, source_region=None, storage_encrypted=None, tags=None, use_latest_restorable_time=None, vpc_security_group_ids=None)

Bases: object

Properties for defining a AWS::RDS::DBCluster.

Parameters
  • engine (str) – AWS::RDS::DBCluster.Engine.

  • associated_roles (Union[IResolvable, List[Union[IResolvable, DBClusterRoleProperty]], None]) – AWS::RDS::DBCluster.AssociatedRoles.

  • availability_zones (Optional[List[str]]) – AWS::RDS::DBCluster.AvailabilityZones.

  • backtrack_window (Union[int, float, None]) – AWS::RDS::DBCluster.BacktrackWindow.

  • backup_retention_period (Union[int, float, None]) – AWS::RDS::DBCluster.BackupRetentionPeriod.

  • database_name (Optional[str]) – AWS::RDS::DBCluster.DatabaseName.

  • db_cluster_identifier (Optional[str]) – AWS::RDS::DBCluster.DBClusterIdentifier.

  • db_cluster_parameter_group_name (Optional[str]) – AWS::RDS::DBCluster.DBClusterParameterGroupName.

  • db_subnet_group_name (Optional[str]) – AWS::RDS::DBCluster.DBSubnetGroupName.

  • deletion_protection (Union[bool, IResolvable, None]) – AWS::RDS::DBCluster.DeletionProtection.

  • enable_cloudwatch_logs_exports (Optional[List[str]]) – AWS::RDS::DBCluster.EnableCloudwatchLogsExports.

  • enable_http_endpoint (Union[bool, IResolvable, None]) – AWS::RDS::DBCluster.EnableHttpEndpoint.

  • enable_iam_database_authentication (Union[bool, IResolvable, None]) – AWS::RDS::DBCluster.EnableIAMDatabaseAuthentication.

  • engine_mode (Optional[str]) – AWS::RDS::DBCluster.EngineMode.

  • engine_version (Optional[str]) – AWS::RDS::DBCluster.EngineVersion.

  • kms_key_id (Optional[str]) – AWS::RDS::DBCluster.KmsKeyId.

  • master_username (Optional[str]) – AWS::RDS::DBCluster.MasterUsername.

  • master_user_password (Optional[str]) – AWS::RDS::DBCluster.MasterUserPassword.

  • port (Union[int, float, None]) – AWS::RDS::DBCluster.Port.

  • preferred_backup_window (Optional[str]) – AWS::RDS::DBCluster.PreferredBackupWindow.

  • preferred_maintenance_window (Optional[str]) – AWS::RDS::DBCluster.PreferredMaintenanceWindow.

  • replication_source_identifier (Optional[str]) – AWS::RDS::DBCluster.ReplicationSourceIdentifier.

  • restore_type (Optional[str]) – AWS::RDS::DBCluster.RestoreType.

  • scaling_configuration (Union[IResolvable, ScalingConfigurationProperty, None]) – AWS::RDS::DBCluster.ScalingConfiguration.

  • snapshot_identifier (Optional[str]) – AWS::RDS::DBCluster.SnapshotIdentifier.

  • source_db_cluster_identifier (Optional[str]) – AWS::RDS::DBCluster.SourceDBClusterIdentifier.

  • source_region (Optional[str]) – AWS::RDS::DBCluster.SourceRegion.

  • storage_encrypted (Union[bool, IResolvable, None]) – AWS::RDS::DBCluster.StorageEncrypted.

  • tags (Optional[List[CfnTag]]) – AWS::RDS::DBCluster.Tags.

  • use_latest_restorable_time (Union[bool, IResolvable, None]) – AWS::RDS::DBCluster.UseLatestRestorableTime.

  • vpc_security_group_ids (Optional[List[str]]) – AWS::RDS::DBCluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html

Attributes

associated_roles

AWS::RDS::DBCluster.AssociatedRoles.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-associatedroles

Return type

Union[IResolvable, List[Union[IResolvable, DBClusterRoleProperty]], None]

availability_zones

AWS::RDS::DBCluster.AvailabilityZones.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-availabilityzones

Return type

Optional[List[str]]

backtrack_window

AWS::RDS::DBCluster.BacktrackWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-backtrackwindow

Return type

Union[int, float, None]

backup_retention_period

AWS::RDS::DBCluster.BackupRetentionPeriod.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-backuprententionperiod

Return type

Union[int, float, None]

database_name

AWS::RDS::DBCluster.DatabaseName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-databasename

Return type

Optional[str]

db_cluster_identifier

AWS::RDS::DBCluster.DBClusterIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbclusteridentifier

Return type

Optional[str]

db_cluster_parameter_group_name

AWS::RDS::DBCluster.DBClusterParameterGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbclusterparametergroupname

Return type

Optional[str]

db_subnet_group_name

AWS::RDS::DBCluster.DBSubnetGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbsubnetgroupname

Return type

Optional[str]

deletion_protection

AWS::RDS::DBCluster.DeletionProtection.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-deletionprotection

Return type

Union[bool, IResolvable, None]

enable_cloudwatch_logs_exports

AWS::RDS::DBCluster.EnableCloudwatchLogsExports.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablecloudwatchlogsexports

Return type

Optional[List[str]]

enable_http_endpoint

AWS::RDS::DBCluster.EnableHttpEndpoint.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablehttpendpoint

Return type

Union[bool, IResolvable, None]

enable_iam_database_authentication

AWS::RDS::DBCluster.EnableIAMDatabaseAuthentication.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enableiamdatabaseauthentication

Return type

Union[bool, IResolvable, None]

engine

AWS::RDS::DBCluster.Engine.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-engine

Return type

str

engine_mode

AWS::RDS::DBCluster.EngineMode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enginemode

Return type

Optional[str]

engine_version

AWS::RDS::DBCluster.EngineVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-engineversion

Return type

Optional[str]

kms_key_id

AWS::RDS::DBCluster.KmsKeyId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-kmskeyid

Return type

Optional[str]

master_user_password

AWS::RDS::DBCluster.MasterUserPassword.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masteruserpassword

Return type

Optional[str]

master_username

AWS::RDS::DBCluster.MasterUsername.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masterusername

Return type

Optional[str]

port

AWS::RDS::DBCluster.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-port

Return type

Union[int, float, None]

preferred_backup_window

AWS::RDS::DBCluster.PreferredBackupWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-preferredbackupwindow

Return type

Optional[str]

preferred_maintenance_window

AWS::RDS::DBCluster.PreferredMaintenanceWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-preferredmaintenancewindow

Return type

Optional[str]

replication_source_identifier

AWS::RDS::DBCluster.ReplicationSourceIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-replicationsourceidentifier

Return type

Optional[str]

restore_type

AWS::RDS::DBCluster.RestoreType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-restoretype

Return type

Optional[str]

scaling_configuration

AWS::RDS::DBCluster.ScalingConfiguration.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-scalingconfiguration

Return type

Union[IResolvable, ScalingConfigurationProperty, None]

snapshot_identifier

AWS::RDS::DBCluster.SnapshotIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-snapshotidentifier

Return type

Optional[str]

source_db_cluster_identifier

AWS::RDS::DBCluster.SourceDBClusterIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-sourcedbclusteridentifier

Return type

Optional[str]

source_region

AWS::RDS::DBCluster.SourceRegion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-sourceregion

Return type

Optional[str]

storage_encrypted

AWS::RDS::DBCluster.StorageEncrypted.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted

Return type

Union[bool, IResolvable, None]

tags

AWS::RDS::DBCluster.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-tags

Return type

Optional[List[CfnTag]]

use_latest_restorable_time

AWS::RDS::DBCluster.UseLatestRestorableTime.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-uselatestrestorabletime

Return type

Union[bool, IResolvable, None]

vpc_security_group_ids

AWS::RDS::DBCluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-vpcsecuritygroupids

Return type

Optional[List[str]]