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
published on Wednesday, Nov 18, 2026 by Pulumi
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
published on Wednesday, Nov 18, 2026 by Pulumi
Associates a specified source account with a resource share.
Using getSourceAssociation
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 getSourceAssociation(args: GetSourceAssociationArgs, opts?: InvokeOptions): Promise<GetSourceAssociationResult>
function getSourceAssociationOutput(args: GetSourceAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetSourceAssociationResult>def get_source_association(resource_share_arn: Optional[str] = None,
source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSourceAssociationResult
def get_source_association_output(resource_share_arn: pulumi.Input[Optional[str]] = None,
source_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSourceAssociationResult]func LookupSourceAssociation(ctx *Context, args *LookupSourceAssociationArgs, opts ...InvokeOption) (*LookupSourceAssociationResult, error)
func LookupSourceAssociationOutput(ctx *Context, args *LookupSourceAssociationOutputArgs, opts ...InvokeOption) LookupSourceAssociationResultOutput> Note: This function is named LookupSourceAssociation in the Go SDK.
public static class GetSourceAssociation
{
public static Task<GetSourceAssociationResult> InvokeAsync(GetSourceAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetSourceAssociationResult> Invoke(GetSourceAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSourceAssociationResult> Invoke(GetSourceAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSourceAssociationResult> getSourceAssociation(GetSourceAssociationArgs args, InvokeOptions options)
public static Output<GetSourceAssociationResult> getSourceAssociation(GetSourceAssociationArgs args, InvokeOptions options)
public static Output<GetSourceAssociationResult> getSourceAssociation(GetSourceAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ram:getSourceAssociation
arguments:
# arguments dictionarydata "aws-native_ram_get_source_association" "name" {
# arguments
}The following arguments are supported:
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- Source
Id string - Specifies the ID of the source account to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- Source
Id string - Specifies the ID of the source account to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- source_
id string - Specifies the ID of the source account to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
- source
Id String - Specifies the ID of the source account to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- source
Id string - Specifies the ID of the source account to associate with the resource share.
- str
- Specifies the Amazon Resource Name (ARN) of the resource share.
- source_
id str - Specifies the ID of the source account to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
- source
Id String - Specifies the ID of the source account to associate with the resource share.
getSourceAssociation Result
The following output properties are available:
- Creation
Time string - The date and time when the association was created.
- Last
Updated stringTime - The date and time when the association was last updated.
- Source
Type string - The type of the source.
- Status
Pulumi.
Aws Native. Ram. Source Association Status - The current status of the association.
- Creation
Time string - The date and time when the association was created.
- Last
Updated stringTime - The date and time when the association was last updated.
- Source
Type string - The type of the source.
- Status
Source
Association Status - The current status of the association.
- creation_
time string - The date and time when the association was created.
- last_
updated_ stringtime - The date and time when the association was last updated.
- source_
type string - The type of the source.
- status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED" | "SUSPENDED" | "SUSPENDING" | "RESTORING"
- The current status of the association.
- creation
Time String - The date and time when the association was created.
- last
Updated StringTime - The date and time when the association was last updated.
- source
Type String - The type of the source.
- status
Source
Association Status - The current status of the association.
- creation
Time string - The date and time when the association was created.
- last
Updated stringTime - The date and time when the association was last updated.
- source
Type string - The type of the source.
- status
Source
Association Status - The current status of the association.
- creation_
time str - The date and time when the association was created.
- last_
updated_ strtime - The date and time when the association was last updated.
- source_
type str - The type of the source.
- status
Source
Association Status - The current status of the association.
- creation
Time String - The date and time when the association was created.
- last
Updated StringTime - The date and time when the association was last updated.
- source
Type String - The type of the source.
- status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED" | "SUSPENDED" | "SUSPENDING" | "RESTORING"
- The current status of the association.
Supporting Types
SourceAssociationStatus
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Disassociated | DISASSOCIATED |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Name | Value |
|---|---|
| Source | ASSOCIATING |
| Source | ASSOCIATED |
| Source | FAILED |
| Source | DISASSOCIATING |
| Source | DISASSOCIATED |
| Source | SUSPENDED |
| Source | SUSPENDING |
| Source | RESTORING |
| Value |
|---|
ASSOCIATING |
ASSOCIATED |
FAILED |
DISASSOCIATING |
DISASSOCIATED |
SUSPENDED |
SUSPENDING |
RESTORING |
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Disassociated | DISASSOCIATED |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Disassociated | DISASSOCIATED |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Name | Value |
|---|---|
| ASSOCIATING | ASSOCIATING |
| ASSOCIATED | ASSOCIATED |
| FAILED | FAILED |
| DISASSOCIATING | DISASSOCIATING |
| DISASSOCIATED | DISASSOCIATED |
| SUSPENDED | SUSPENDED |
| SUSPENDING | SUSPENDING |
| RESTORING | RESTORING |
| Value |
|---|
ASSOCIATING |
ASSOCIATED |
FAILED |
DISASSOCIATING |
DISASSOCIATED |
SUSPENDED |
SUSPENDING |
RESTORING |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
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
published on Wednesday, Nov 18, 2026 by Pulumi