1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. devopsagent
  6. getAssociation

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

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi

    Resource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace interacts with external services like GitHub, Slack, AWS accounts, and others.

    Using getAssociation

    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 getAssociation(args: GetAssociationArgs, opts?: InvokeOptions): Promise<GetAssociationResult>
    function getAssociationOutput(args: GetAssociationOutputArgs, opts?: InvokeOptions): Output<GetAssociationResult>
    def get_association(agent_space_id: Optional[str] = None,
                        association_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAssociationResult
    def get_association_output(agent_space_id: Optional[pulumi.Input[str]] = None,
                        association_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAssociationResult]
    func LookupAssociation(ctx *Context, args *LookupAssociationArgs, opts ...InvokeOption) (*LookupAssociationResult, error)
    func LookupAssociationOutput(ctx *Context, args *LookupAssociationOutputArgs, opts ...InvokeOption) LookupAssociationResultOutput

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

    public static class GetAssociation 
    {
        public static Task<GetAssociationResult> InvokeAsync(GetAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetAssociationResult> Invoke(GetAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
    public static Output<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:devopsagent:getAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AgentSpaceId string
    The unique identifier of the AgentSpace
    AssociationId string
    The unique identifier of the association
    AgentSpaceId string
    The unique identifier of the AgentSpace
    AssociationId string
    The unique identifier of the association
    agentSpaceId String
    The unique identifier of the AgentSpace
    associationId String
    The unique identifier of the association
    agentSpaceId string
    The unique identifier of the AgentSpace
    associationId string
    The unique identifier of the association
    agent_space_id str
    The unique identifier of the AgentSpace
    association_id str
    The unique identifier of the association
    agentSpaceId String
    The unique identifier of the AgentSpace
    associationId String
    The unique identifier of the association

    getAssociation Result

    The following output properties are available:

    AssociationId string
    The unique identifier of the association
    Configuration Pulumi.AwsNative.DevOpsAgent.Outputs.AssociationServiceConfiguration
    The configuration that directs how AgentSpace interacts with the given service
    CreatedAt string
    The timestamp when the association was created
    ServiceId string
    The identifier for the associated service
    UpdatedAt string
    The timestamp when the association was last updated
    AssociationId string
    The unique identifier of the association
    Configuration AssociationServiceConfiguration
    The configuration that directs how AgentSpace interacts with the given service
    CreatedAt string
    The timestamp when the association was created
    ServiceId string
    The identifier for the associated service
    UpdatedAt string
    The timestamp when the association was last updated
    associationId String
    The unique identifier of the association
    configuration AssociationServiceConfiguration
    The configuration that directs how AgentSpace interacts with the given service
    createdAt String
    The timestamp when the association was created
    serviceId String
    The identifier for the associated service
    updatedAt String
    The timestamp when the association was last updated
    associationId string
    The unique identifier of the association
    configuration AssociationServiceConfiguration
    The configuration that directs how AgentSpace interacts with the given service
    createdAt string
    The timestamp when the association was created
    serviceId string
    The identifier for the associated service
    updatedAt string
    The timestamp when the association was last updated
    association_id str
    The unique identifier of the association
    configuration AssociationServiceConfiguration
    The configuration that directs how AgentSpace interacts with the given service
    created_at str
    The timestamp when the association was created
    service_id str
    The identifier for the associated service
    updated_at str
    The timestamp when the association was last updated
    associationId String
    The unique identifier of the association
    configuration Property Map
    The configuration that directs how AgentSpace interacts with the given service
    createdAt String
    The timestamp when the association was created
    serviceId String
    The identifier for the associated service
    updatedAt String
    The timestamp when the association was last updated

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.62.0
    published on Monday, Apr 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.