1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. networkmanager
  6. getContextStoreAssociation

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

    Associates a Transit Gateway with a Context Store for sharing network context.

    Using getContextStoreAssociation

    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 getContextStoreAssociation(args: GetContextStoreAssociationArgs, opts?: InvokeOptions): Promise<GetContextStoreAssociationResult>
    function getContextStoreAssociationOutput(args: GetContextStoreAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetContextStoreAssociationResult>
    def get_context_store_association(context_store_id: Optional[str] = None,
                                      resource_arn: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetContextStoreAssociationResult
    def get_context_store_association_output(context_store_id: pulumi.Input[Optional[str]] = None,
                                      resource_arn: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetContextStoreAssociationResult]
    func LookupContextStoreAssociation(ctx *Context, args *LookupContextStoreAssociationArgs, opts ...InvokeOption) (*LookupContextStoreAssociationResult, error)
    func LookupContextStoreAssociationOutput(ctx *Context, args *LookupContextStoreAssociationOutputArgs, opts ...InvokeOption) LookupContextStoreAssociationResultOutput

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

    public static class GetContextStoreAssociation 
    {
        public static Task<GetContextStoreAssociationResult> InvokeAsync(GetContextStoreAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetContextStoreAssociationResult> Invoke(GetContextStoreAssociationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetContextStoreAssociationResult> Invoke(GetContextStoreAssociationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetContextStoreAssociationResult> getContextStoreAssociation(GetContextStoreAssociationArgs args, InvokeOptions options)
    public static Output<GetContextStoreAssociationResult> getContextStoreAssociation(GetContextStoreAssociationArgs args, InvokeOptions options)
    public static Output<GetContextStoreAssociationResult> getContextStoreAssociation(GetContextStoreAssociationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:networkmanager:getContextStoreAssociation
      arguments:
        # arguments dictionary
    data "aws-native_networkmanager_get_context_store_association" "name" {
        # arguments
    }

    The following arguments are supported:

    ContextStoreId string
    The ID of the context store.
    ResourceArn string
    The ARN of the Transit Gateway to associate.
    ContextStoreId string
    The ID of the context store.
    ResourceArn string
    The ARN of the Transit Gateway to associate.
    context_store_id string
    The ID of the context store.
    resource_arn string
    The ARN of the Transit Gateway to associate.
    contextStoreId String
    The ID of the context store.
    resourceArn String
    The ARN of the Transit Gateway to associate.
    contextStoreId string
    The ID of the context store.
    resourceArn string
    The ARN of the Transit Gateway to associate.
    context_store_id str
    The ID of the context store.
    resource_arn str
    The ARN of the Transit Gateway to associate.
    contextStoreId String
    The ID of the context store.
    resourceArn String
    The ARN of the Transit Gateway to associate.

    getContextStoreAssociation Result

    The following output properties are available:

    CreatedAt string
    Creation timestamp (ISO-8601).
    State string
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    CreatedAt string
    Creation timestamp (ISO-8601).
    State string
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    created_at string
    Creation timestamp (ISO-8601).
    state string
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    createdAt String
    Creation timestamp (ISO-8601).
    state String
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    createdAt string
    Creation timestamp (ISO-8601).
    state string
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    created_at str
    Creation timestamp (ISO-8601).
    state str
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).
    createdAt String
    Creation timestamp (ISO-8601).
    state String
    The state of the association (ASSOCIATING, ASSOCIATED, DISASSOCIATING, FAILED).

    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