DBCluster
¶
Source code in docs_src/capo_docdb/types/db_cluster.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
associated_roles
instance-attribute
¶
associated_roles: NotRequired[DBClusterRoles]
Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf.
availability_zones
instance-attribute
¶
availability_zones: NotRequired[AvailabilityZones]
Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
backup_retention_period
instance-attribute
¶
backup_retention_period: NotRequired[IntegerOptional]
Specifies the number of days for which automatic snapshots are retained.
clone_group_id
instance-attribute
¶
clone_group_id: NotRequired[String]
Identifies the clone group to which the DB cluster is associated.
cluster_create_time
instance-attribute
¶
cluster_create_time: NotRequired[TStamp]
Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).
copy_tags_to_snapshot
instance-attribute
¶
copy_tags_to_snapshot: NotRequired[BooleanOptional]
Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
db_cluster_arn
instance-attribute
¶
db_cluster_arn: NotRequired[String]
The Amazon Resource Name (ARN) for the cluster.
db_cluster_identifier
instance-attribute
¶
db_cluster_identifier: NotRequired[String]
Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a cluster.
db_cluster_members
instance-attribute
¶
db_cluster_members: NotRequired[DBClusterMemberList]
Provides the list of instances that make up the cluster.
db_cluster_parameter_group
instance-attribute
¶
db_cluster_parameter_group: NotRequired[String]
Specifies the name of the cluster parameter group for the cluster.
db_cluster_resource_id
instance-attribute
¶
db_cluster_resource_id: NotRequired[String]
The Amazon Web Services Region-unique, immutable identifier for the cluster. This identifier is found in CloudTrail log entries whenever the KMS key for the cluster is accessed.
db_subnet_group
instance-attribute
¶
db_subnet_group: NotRequired[String]
Specifies information on the subnet group that is associated with the cluster, including the name, description, and subnets in the subnet group.
deletion_protection
instance-attribute
¶
deletion_protection: NotRequired[Boolean]
Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clusters from being accidentally deleted.
earliest_restorable_time
instance-attribute
¶
earliest_restorable_time: NotRequired[TStamp]
The earliest time to which a database can be restored with point-in-time restore.
enabled_cloudwatch_logs_exports
instance-attribute
¶
enabled_cloudwatch_logs_exports: NotRequired[LogTypeList]
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
endpoint
instance-attribute
¶
endpoint: NotRequired[String]
Specifies the connection endpoint for the primary instance of the cluster.
engine
instance-attribute
¶
engine: NotRequired[String]
Provides the name of the database engine to be used for this cluster.
engine_version
instance-attribute
¶
engine_version: NotRequired[String]
Indicates the database engine version.
hosted_zone_id
instance-attribute
¶
hosted_zone_id: NotRequired[String]
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
io_optimized_next_allowed_modification_time
instance-attribute
¶
io_optimized_next_allowed_modification_time: NotRequired[TStamp]
The next time you can modify the Amazon DocumentDB cluster to use the iopt1 storage type.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[String]
If StorageEncrypted is true, the KMS key identifier for the encrypted cluster.
latest_restorable_time
instance-attribute
¶
latest_restorable_time: NotRequired[TStamp]
Specifies the latest time to which a database can be restored with point-in-time restore.
master_user_secret
instance-attribute
¶
master_user_secret: NotRequired[ClusterMasterUserSecret]
The secret managed by Amazon DocumentDB in Amazon Web Services Secrets Manager for the master user password.
master_username
instance-attribute
¶
master_username: NotRequired[String]
Contains the master user name for the cluster.
multi_az
instance-attribute
¶
multi_az: NotRequired[Boolean]
Specifies whether the cluster has instances in multiple Availability Zones.
network_type
instance-attribute
¶
network_type: NotRequired[String]
The network type of the cluster.
The network type is determined by the DBSubnetGroup specified for the cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).
For more information, see DocumentDB clusters in a VPC in the Amazon DocumentDB Developer Guide.
Valid Values: IPV4 | DUAL
percent_progress
instance-attribute
¶
percent_progress: NotRequired[String]
Specifies the progress of the operation as a percentage.
port
instance-attribute
¶
port: NotRequired[IntegerOptional]
Specifies the port that the database engine is listening on.
preferred_backup_window
instance-attribute
¶
preferred_backup_window: NotRequired[String]
Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
preferred_maintenance_window
instance-attribute
¶
preferred_maintenance_window: NotRequired[String]
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
read_replica_identifiers
instance-attribute
¶
read_replica_identifiers: NotRequired[ReadReplicaIdentifierList]
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
reader_endpoint
instance-attribute
¶
reader_endpoint: NotRequired[String]
The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections across the Amazon DocumentDB replicas that are available in a cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your cluster.
If a failover occurs, and the Amazon DocumentDB 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 Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.
replication_source_identifier
instance-attribute
¶
replication_source_identifier: NotRequired[String]
Contains the identifier of the source cluster if this cluster is a secondary cluster.
serverless_v2_scaling_configuration
instance-attribute
¶
serverless_v2_scaling_configuration: NotRequired[ServerlessV2ScalingConfigurationInfo]
The scaling configuration of an Amazon DocumentDB Serverless cluster.
status
instance-attribute
¶
status: NotRequired[String]
Specifies the current state of this cluster.
storage_encrypted
instance-attribute
¶
storage_encrypted: NotRequired[Boolean]
Specifies whether the cluster is encrypted.
storage_type
instance-attribute
¶
storage_type: NotRequired[String]
Storage type associated with your cluster
For information on storage types for Amazon DocumentDB clusters, see Cluster storage configurations in the Amazon DocumentDB Developer Guide.
Valid values for storage type - standard | iopt1
Default value is standard
vpc_security_groups
instance-attribute
¶
vpc_security_groups: NotRequired[VpcSecurityGroupMembershipList]
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.