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 resource with a resource share.
Using getResourceAssociation
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 getResourceAssociation(args: GetResourceAssociationArgs, opts?: InvokeOptions): Promise<GetResourceAssociationResult>
function getResourceAssociationOutput(args: GetResourceAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetResourceAssociationResult>def get_resource_association(resource_arn: Optional[str] = None,
resource_share_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceAssociationResult
def get_resource_association_output(resource_arn: pulumi.Input[Optional[str]] = None,
resource_share_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetResourceAssociationResult]func LookupResourceAssociation(ctx *Context, args *LookupResourceAssociationArgs, opts ...InvokeOption) (*LookupResourceAssociationResult, error)
func LookupResourceAssociationOutput(ctx *Context, args *LookupResourceAssociationOutputArgs, opts ...InvokeOption) LookupResourceAssociationResultOutput> Note: This function is named LookupResourceAssociation in the Go SDK.
public static class GetResourceAssociation
{
public static Task<GetResourceAssociationResult> InvokeAsync(GetResourceAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetResourceAssociationResult> Invoke(GetResourceAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetResourceAssociationResult> Invoke(GetResourceAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetResourceAssociationResult> getResourceAssociation(GetResourceAssociationArgs args, InvokeOptions options)
public static Output<GetResourceAssociationResult> getResourceAssociation(GetResourceAssociationArgs args, InvokeOptions options)
public static Output<GetResourceAssociationResult> getResourceAssociation(GetResourceAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ram:getResourceAssociation
arguments:
# arguments dictionarydata "aws-native_ram_get_resource_association" "name" {
# arguments
}The following arguments are supported:
- Resource
Arn string - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- Resource
Arn string - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- resource_
arn string - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- resource
Arn String - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
- resource
Arn string - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- resource_
arn str - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- str
- Specifies the Amazon Resource Name (ARN) of the resource share.
- resource
Arn String - Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
getResourceAssociation Result
The following output properties are available:
- Association
Type string - The type of entity included in this association.
- Creation
Time string - The date and time when the association was created.
- External bool
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- Last
Updated stringTime - The date and time when the association was last updated.
- Status
Pulumi.
Aws Native. Ram. Resource Association Status - The current status of the association.
- Association
Type string - The type of entity included in this association.
- Creation
Time string - The date and time when the association was created.
- External bool
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- Last
Updated stringTime - The date and time when the association was last updated.
- Status
Resource
Association Status - The current status of the association.
- association_
type string - The type of entity included in this association.
- creation_
time string - The date and time when the association was created.
- external bool
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- last_
updated_ stringtime - The date and time when the association was last updated.
- status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED" | "SUSPENDED" | "SUSPENDING" | "RESTORING"
- The current status of the association.
- association
Type String - The type of entity included in this association.
- creation
Time String - The date and time when the association was created.
- external Boolean
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- last
Updated StringTime - The date and time when the association was last updated.
- status
Resource
Association Status - The current status of the association.
- association
Type string - The type of entity included in this association.
- creation
Time string - The date and time when the association was created.
- external boolean
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- last
Updated stringTime - The date and time when the association was last updated.
- status
Resource
Association Status - The current status of the association.
- association_
type str - The type of entity included in this association.
- creation_
time str - The date and time when the association was created.
- external bool
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- last_
updated_ strtime - The date and time when the association was last updated.
- status
Resource
Association Status - The current status of the association.
- association
Type String - The type of entity included in this association.
- creation
Time String - The date and time when the association was created.
- external Boolean
- Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.
- last
Updated StringTime - The date and time when the association was last updated.
- status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED" | "SUSPENDED" | "SUSPENDING" | "RESTORING"
- The current status of the association.
Supporting Types
ResourceAssociationStatus
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Disassociated | DISASSOCIATED |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Name | Value |
|---|---|
| Resource | ASSOCIATING |
| Resource | ASSOCIATED |
| Resource | FAILED |
| Resource | DISASSOCIATING |
| Resource | DISASSOCIATED |
| Resource | SUSPENDED |
| Resource | SUSPENDING |
| Resource | 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