1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ecs
  6. getGatewayClusterAssociations

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::ECS::GatewayClusterAssociations, which associates an ECS Gateway with an ECS Cluster.

    Using getGatewayClusterAssociations

    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 getGatewayClusterAssociations(args: GetGatewayClusterAssociationsArgs, opts?: InvokeOptions): Promise<GetGatewayClusterAssociationsResult>
    function getGatewayClusterAssociationsOutput(args: GetGatewayClusterAssociationsOutputArgs, opts?: InvokeOutputOptions): Output<GetGatewayClusterAssociationsResult>
    def get_gateway_cluster_associations(cluster: Optional[str] = None,
                                         gateway: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetGatewayClusterAssociationsResult
    def get_gateway_cluster_associations_output(cluster: pulumi.Input[Optional[str]] = None,
                                         gateway: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetGatewayClusterAssociationsResult]
    func LookupGatewayClusterAssociations(ctx *Context, args *LookupGatewayClusterAssociationsArgs, opts ...InvokeOption) (*LookupGatewayClusterAssociationsResult, error)
    func LookupGatewayClusterAssociationsOutput(ctx *Context, args *LookupGatewayClusterAssociationsOutputArgs, opts ...InvokeOption) LookupGatewayClusterAssociationsResultOutput

    > Note: This function is named LookupGatewayClusterAssociations in the Go SDK.

    public static class GetGatewayClusterAssociations 
    {
        public static Task<GetGatewayClusterAssociationsResult> InvokeAsync(GetGatewayClusterAssociationsArgs args, InvokeOptions? opts = null)
        public static Output<GetGatewayClusterAssociationsResult> Invoke(GetGatewayClusterAssociationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetGatewayClusterAssociationsResult> Invoke(GetGatewayClusterAssociationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetGatewayClusterAssociationsResult> getGatewayClusterAssociations(GetGatewayClusterAssociationsArgs args, InvokeOptions options)
    public static Output<GetGatewayClusterAssociationsResult> getGatewayClusterAssociations(GetGatewayClusterAssociationsArgs args, InvokeOptions options)
    public static Output<GetGatewayClusterAssociationsResult> getGatewayClusterAssociations(GetGatewayClusterAssociationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ecs:getGatewayClusterAssociations
      arguments:
        # arguments dictionary
    data "aws-native_ecs_get_gateway_cluster_associations" "name" {
        # arguments
    }

    The following arguments are supported:

    Cluster string
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    Gateway string
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    Cluster string
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    Gateway string
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    cluster string
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    gateway string
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    cluster String
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    gateway String
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    cluster string
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    gateway string
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    cluster str
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    gateway str
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.
    cluster String
    The name or full Amazon Resource Name (ARN) of the cluster to associate the gateway with.
    gateway String
    The name or full Amazon Resource Name (ARN) of the gateway to associate with the cluster.

    getGatewayClusterAssociations Result

    The following output properties are available:

    ClusterArn string
    The full Amazon Resource Name (ARN) of the associated cluster.
    GatewayArn string
    The full Amazon Resource Name (ARN) of the associated gateway.
    Status Pulumi.AwsNative.Ecs.GatewayClusterAssociationsGatewayClusterAssociationStatus
    The status of the association.
    ClusterArn string
    The full Amazon Resource Name (ARN) of the associated cluster.
    GatewayArn string
    The full Amazon Resource Name (ARN) of the associated gateway.
    Status GatewayClusterAssociationsGatewayClusterAssociationStatus
    The status of the association.
    cluster_arn string
    The full Amazon Resource Name (ARN) of the associated cluster.
    gateway_arn string
    The full Amazon Resource Name (ARN) of the associated gateway.
    status "ACTIVE" | "DISASSOCIATING"
    The status of the association.
    clusterArn String
    The full Amazon Resource Name (ARN) of the associated cluster.
    gatewayArn String
    The full Amazon Resource Name (ARN) of the associated gateway.
    status GatewayClusterAssociationsGatewayClusterAssociationStatus
    The status of the association.
    clusterArn string
    The full Amazon Resource Name (ARN) of the associated cluster.
    gatewayArn string
    The full Amazon Resource Name (ARN) of the associated gateway.
    status GatewayClusterAssociationsGatewayClusterAssociationStatus
    The status of the association.
    cluster_arn str
    The full Amazon Resource Name (ARN) of the associated cluster.
    gateway_arn str
    The full Amazon Resource Name (ARN) of the associated gateway.
    status GatewayClusterAssociationsGatewayClusterAssociationStatus
    The status of the association.
    clusterArn String
    The full Amazon Resource Name (ARN) of the associated cluster.
    gatewayArn String
    The full Amazon Resource Name (ARN) of the associated gateway.
    status "ACTIVE" | "DISASSOCIATING"
    The status of the association.

    Supporting Types

    GatewayClusterAssociationsGatewayClusterAssociationStatus

    NameValue
    ActiveACTIVE
    DisassociatingDISASSOCIATING
    NameValue
    GatewayClusterAssociationsGatewayClusterAssociationStatusActiveACTIVE
    GatewayClusterAssociationsGatewayClusterAssociationStatusDisassociatingDISASSOCIATING
    Value
    ACTIVE
    DISASSOCIATING
    NameValue
    ActiveACTIVE
    DisassociatingDISASSOCIATING
    NameValue
    ActiveACTIVE
    DisassociatingDISASSOCIATING
    NameValue
    ACTIVEACTIVE
    DISASSOCIATINGDISASSOCIATING
    Value
    ACTIVE
    DISASSOCIATING

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial