UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

41 lines (40 loc) 1.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The AWS::DocDB::GlobalCluster resource represents an Amazon DocumentDB Global Cluster. */ export declare function getGlobalCluster(args: GetGlobalClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalClusterResult>; export interface GetGlobalClusterArgs { /** * The cluster identifier of the global cluster. */ globalClusterIdentifier: string; } export interface GetGlobalClusterResult { /** * Indicates whether the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled. */ readonly deletionProtection?: boolean; /** * The Amazon Resource Name (ARN) for the global cluster. */ readonly globalClusterArn?: string; /** * 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. */ readonly globalClusterResourceId?: string; /** * The tags to be assigned to the Amazon DocumentDB resource. */ readonly tags?: outputs.Tag[]; } /** * The AWS::DocDB::GlobalCluster resource represents an Amazon DocumentDB Global Cluster. */ export declare function getGlobalClusterOutput(args: GetGlobalClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGlobalClusterResult>; export interface GetGlobalClusterOutputArgs { /** * The cluster identifier of the global cluster. */ globalClusterIdentifier: pulumi.Input<string>; }