We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
The AWS::DocDB::GlobalCluster resource represents an Amazon DocumentDB Global Cluster.
Create GlobalCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GlobalCluster(name: string, args: GlobalClusterArgs, opts?: CustomResourceOptions);@overload
def GlobalCluster(resource_name: str,
args: GlobalClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GlobalCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
global_cluster_identifier: Optional[str] = None,
deletion_protection: Optional[bool] = None,
engine: Optional[GlobalClusterEngine] = None,
engine_version: Optional[str] = None,
source_db_cluster_identifier: Optional[str] = None,
storage_encrypted: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewGlobalCluster(ctx *Context, name string, args GlobalClusterArgs, opts ...ResourceOption) (*GlobalCluster, error)public GlobalCluster(string name, GlobalClusterArgs args, CustomResourceOptions? opts = null)
public GlobalCluster(String name, GlobalClusterArgs args)
public GlobalCluster(String name, GlobalClusterArgs args, CustomResourceOptions options)
type: aws-native:docdb:GlobalCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GlobalClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GlobalClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GlobalClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlobalClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GlobalClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GlobalCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GlobalCluster resource accepts the following input properties:
- Global
Cluster stringIdentifier - The cluster identifier of the global cluster.
- Deletion
Protection bool - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- Engine
Pulumi.
Aws Native. Doc Db. Global Cluster Engine - The database engine to use for this global cluster.
- Engine
Version string - The engine version to use for this global cluster.
- Source
Db stringCluster Identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- Storage
Encrypted bool - Indicates whether the global cluster has storage encryption enabled.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags to be assigned to the Amazon DocumentDB resource.
- Global
Cluster stringIdentifier - The cluster identifier of the global cluster.
- Deletion
Protection bool - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- Engine
Global
Cluster Engine - The database engine to use for this global cluster.
- Engine
Version string - The engine version to use for this global cluster.
- Source
Db stringCluster Identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- Storage
Encrypted bool - Indicates whether the global cluster has storage encryption enabled.
-
Tag
Args - The tags to be assigned to the Amazon DocumentDB resource.
- global
Cluster StringIdentifier - The cluster identifier of the global cluster.
- deletion
Protection Boolean - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- engine
Global
Cluster Engine - The database engine to use for this global cluster.
- engine
Version String - The engine version to use for this global cluster.
- source
Db StringCluster Identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- storage
Encrypted Boolean - Indicates whether the global cluster has storage encryption enabled.
- List<Tag>
- The tags to be assigned to the Amazon DocumentDB resource.
- global
Cluster stringIdentifier - The cluster identifier of the global cluster.
- deletion
Protection boolean - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- engine
Global
Cluster Engine - The database engine to use for this global cluster.
- engine
Version string - The engine version to use for this global cluster.
- source
Db stringCluster Identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- storage
Encrypted boolean - Indicates whether the global cluster has storage encryption enabled.
- Tag[]
- The tags to be assigned to the Amazon DocumentDB resource.
- global_
cluster_ stridentifier - The cluster identifier of the global cluster.
- deletion_
protection bool - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- engine
Global
Cluster Engine - The database engine to use for this global cluster.
- engine_
version str - The engine version to use for this global cluster.
- source_
db_ strcluster_ identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- storage_
encrypted bool - Indicates whether the global cluster has storage encryption enabled.
-
Sequence[Tag
Args] - The tags to be assigned to the Amazon DocumentDB resource.
- global
Cluster StringIdentifier - The cluster identifier of the global cluster.
- deletion
Protection Boolean - Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.
- engine ""
- The database engine to use for this global cluster.
- engine
Version String - The engine version to use for this global cluster.
- source
Db StringCluster Identifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- storage
Encrypted Boolean - Indicates whether the global cluster has storage encryption enabled.
- List<Property Map>
- The tags to be assigned to the Amazon DocumentDB resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the GlobalCluster resource produces the following output properties:
- Global
Cluster stringArn - The Amazon Resource Name (ARN) for the global cluster.
- Global
Cluster stringResource Id - The 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Global
Cluster stringArn - The Amazon Resource Name (ARN) for the global cluster.
- Global
Cluster stringResource Id - The 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- global
Cluster StringArn - The Amazon Resource Name (ARN) for the global cluster.
- global
Cluster StringResource Id - The 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.
- id String
- The provider-assigned unique ID for this managed resource.
- global
Cluster stringArn - The Amazon Resource Name (ARN) for the global cluster.
- global
Cluster stringResource Id - The 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.
- id string
- The provider-assigned unique ID for this managed resource.
- global_
cluster_ strarn - The Amazon Resource Name (ARN) for the global cluster.
- global_
cluster_ strresource_ id - The 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.
- id str
- The provider-assigned unique ID for this managed resource.
- global
Cluster StringArn - The Amazon Resource Name (ARN) for the global cluster.
- global
Cluster StringResource Id - The 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.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GlobalClusterEngine, GlobalClusterEngineArgs
- Docdb
docdb
- Global
Cluster Engine Docdb docdb
- Docdb
docdb
- Docdb
docdb
- DOCDB
docdb
- "docdb"
docdb
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
