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

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.

    Create GatewayClusterAssociations Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GatewayClusterAssociations(name: string, args: GatewayClusterAssociationsArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayClusterAssociations(resource_name: str,
                                   args: GatewayClusterAssociationsArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayClusterAssociations(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   cluster: Optional[str] = None,
                                   gateway: Optional[str] = None)
    func NewGatewayClusterAssociations(ctx *Context, name string, args GatewayClusterAssociationsArgs, opts ...ResourceOption) (*GatewayClusterAssociations, error)
    public GatewayClusterAssociations(string name, GatewayClusterAssociationsArgs args, CustomResourceOptions? opts = null)
    public GatewayClusterAssociations(String name, GatewayClusterAssociationsArgs args)
    public GatewayClusterAssociations(String name, GatewayClusterAssociationsArgs args, CustomResourceOptions options)
    
    type: aws-native:ecs:GatewayClusterAssociations
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ecs_gateway_cluster_associations" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GatewayClusterAssociationsArgs
    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 GatewayClusterAssociationsArgs
    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 GatewayClusterAssociationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayClusterAssociationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayClusterAssociationsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    GatewayClusterAssociations 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 GatewayClusterAssociations resource accepts the following input properties:

    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GatewayClusterAssociations resource produces the following output properties:

    ClusterArn string
    The full Amazon Resource Name (ARN) of the associated cluster.
    GatewayArn string
    The full Amazon Resource Name (ARN) of the associated gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    status "ACTIVE" | "DISASSOCIATING"
    The status of the association.

    Look up Existing GatewayClusterAssociations Resource

    Get an existing GatewayClusterAssociations resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): GatewayClusterAssociations
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> GatewayClusterAssociations
    func GetGatewayClusterAssociations(ctx *Context, name string, id IDInput, state *GatewayClusterAssociationsState, opts ...ResourceOption) (*GatewayClusterAssociations, error)
    public static GatewayClusterAssociations Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static GatewayClusterAssociations get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingGatewayClusterAssociations:    type: aws-native:ecs:GatewayClusterAssociations    get:      id: ${id}
    import {
      to = aws-native_ecs_gateway_cluster_associations.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state GatewayClusterAssociationsState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    GatewayClusterAssociationsGatewayClusterAssociationStatus

    The status of the association between the gateway and the cluster.

    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