GlobalClusterState constructor

const GlobalClusterState({
  1. Input<String?>? arn,
  2. Input<String?>? databaseName,
  3. Input<bool?>? deletionProtection,
  4. Input<String?>? endpoint,
  5. Input<String?>? engine,
  6. Input<String?>? engineLifecycleSupport,
  7. Input<String?>? engineVersion,
  8. Input<String?>? engineVersionActual,
  9. Input<bool?>? forceDestroy,
  10. Input<String?>? globalClusterIdentifier,
  11. Input<List<GlobalClusterGlobalClusterMember>?>? globalClusterMembers,
  12. Input<String?>? globalClusterResourceId,
  13. Input<String?>? region,
  14. Input<String?>? sourceDbClusterIdentifier,
  15. Input<bool?>? storageEncrypted,
  16. Input<Map<String, String>?>? tags,
  17. Input<Map<String, String>?>? tagsAll,
})

Creates a new GlobalClusterState. arn RDS Global Cluster ARN. databaseName Name for an automatically created database on cluster creation. Pulumi will only perform drift detection if a configuration value is provided. deletionProtection If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to true. The default is false. endpoint Writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster. engine Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: aurora, aurora-mysql, aurora-postgresql. Defaults to aurora. Conflicts with sourceDbClusterIdentifier. engineLifecycleSupport The life cycle type for this DB instance. This setting applies only to Aurora PostgreSQL-based global databases. Valid values are open-source-rds-extended-support, open-source-rds-extended-support-disabled. Default value is open-source-rds-extended-support. Using Amazon RDS Extended Support: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html engineVersion Engine version of the Aurora global database. The engine, engineVersion, and instanceClass (on the aws.rds.ClusterInstance) must together support global databases. See Using Amazon Aurora global databases for more information. By upgrading the engine version, the provider will upgrade cluster members. NOTE: To avoid an inconsistent final plan error while upgrading, use the lifecycle ignoreChanges for engineVersion meta argument on the associated aws.rds.Cluster resource as shown above in Upgrading Engine Versions example. engineVersionActual Optional. forceDestroy Enable to remove DB Cluster members from Global Cluster on destroy. Required with sourceDbClusterIdentifier. globalClusterIdentifier Global cluster identifier. globalClusterMembers Set of objects containing Global Cluster members. globalClusterResourceId AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sourceDbClusterIdentifier ARN to use as the primary DB Cluster of the Global Cluster on creation. Pulumi cannot perform drift detection of this value. NOTE: After initial creation, this argument can be removed and replaced with engine and engineVersion. This allows upgrading the engine version of the Global Cluster. storageEncrypted Specifies whether the DB cluster is encrypted. The default is false unless sourceDbClusterIdentifier is specified and encrypted. The provider will only perform drift detection if a configuration value is provided. tags A map of tags to assign to the DB cluster. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const GlobalClusterState({
  this.arn,
  this.databaseName,
  this.deletionProtection,
  this.endpoint,
  this.engine,
  this.engineLifecycleSupport,
  this.engineVersion,
  this.engineVersionActual,
  this.forceDestroy,
  this.globalClusterIdentifier,
  this.globalClusterMembers,
  this.globalClusterResourceId,
  this.region,
  this.sourceDbClusterIdentifier,
  this.storageEncrypted,
  this.tags,
  this.tagsAll,
});