AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi
aws-native.docdbelastic.getCluster
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi
The AWS::DocDBElastic::Cluster Amazon DocumentDB (with MongoDB compatibility) Elastic Scale resource describes a Cluster
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:docdbelastic:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Arn string
- Cluster
Arn string
- cluster
Arn String
- cluster
Arn string
- cluster_
arn str
- cluster
Arn String
getCluster Result
The following output properties are available:
- Cluster
Arn string - Cluster
Endpoint string - Preferred
Maintenance stringWindow - int
- int
- Subnet
Ids List<string> - List<Pulumi.
Aws Native. Doc Db Elastic. Outputs. Cluster Tag> - Vpc
Security List<string>Group Ids
- Cluster
Arn string - Cluster
Endpoint string - Preferred
Maintenance stringWindow - int
- int
- Subnet
Ids []string - []Cluster
Tag - Vpc
Security []stringGroup Ids
- cluster
Arn String - cluster
Endpoint String - preferred
Maintenance StringWindow - Integer
- Integer
- subnet
Ids List<String> - List<Cluster
Tag> - vpc
Security List<String>Group Ids
- cluster
Arn string - cluster
Endpoint string - preferred
Maintenance stringWindow - number
- number
- subnet
Ids string[] - Cluster
Tag[] - vpc
Security string[]Group Ids
- cluster_
arn str - cluster_
endpoint str - preferred_
maintenance_ strwindow - int
- int
- subnet_
ids Sequence[str] - Sequence[Cluster
Tag] - vpc_
security_ Sequence[str]group_ ids
- cluster
Arn String - cluster
Endpoint String - preferred
Maintenance StringWindow - Number
- Number
- subnet
Ids List<String> - List<Property Map>
- vpc
Security List<String>Group Ids
Supporting Types
ClusterTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi