We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Associates a specified AWS RAM permission with a resource share. You can only associate one permission with each resource type in a resource share.
Using getPermissionAssociation
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 getPermissionAssociation(args: GetPermissionAssociationArgs, opts?: InvokeOptions): Promise<GetPermissionAssociationResult>
function getPermissionAssociationOutput(args: GetPermissionAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetPermissionAssociationResult>def get_permission_association(permission_arn: Optional[str] = None,
resource_share_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPermissionAssociationResult
def get_permission_association_output(permission_arn: pulumi.Input[Optional[str]] = None,
resource_share_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPermissionAssociationResult]func LookupPermissionAssociation(ctx *Context, args *LookupPermissionAssociationArgs, opts ...InvokeOption) (*LookupPermissionAssociationResult, error)
func LookupPermissionAssociationOutput(ctx *Context, args *LookupPermissionAssociationOutputArgs, opts ...InvokeOption) LookupPermissionAssociationResultOutput> Note: This function is named LookupPermissionAssociation in the Go SDK.
public static class GetPermissionAssociation
{
public static Task<GetPermissionAssociationResult> InvokeAsync(GetPermissionAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetPermissionAssociationResult> Invoke(GetPermissionAssociationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPermissionAssociationResult> Invoke(GetPermissionAssociationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPermissionAssociationResult> getPermissionAssociation(GetPermissionAssociationArgs args, InvokeOptions options)
public static Output<GetPermissionAssociationResult> getPermissionAssociation(GetPermissionAssociationArgs args, InvokeOptions options)
public static Output<GetPermissionAssociationResult> getPermissionAssociation(GetPermissionAssociationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ram:getPermissionAssociation
arguments:
# arguments dictionarydata "aws-native_ram_get_permission_association" "name" {
# arguments
}The following arguments are supported:
- Permission
Arn string - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- Permission
Arn string - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- permission_
arn string - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- permission
Arn String - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
- permission
Arn string - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- string
- Specifies the Amazon Resource Name (ARN) of the resource share.
- permission_
arn str - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- str
- Specifies the Amazon Resource Name (ARN) of the resource share.
- permission
Arn String - Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
- String
- Specifies the Amazon Resource Name (ARN) of the resource share.
getPermissionAssociation Result
The following output properties are available:
- Association
Status Pulumi.Aws Native. Ram. Permission Association Association Status - The current status of the association between the permission and the resource share.
- Feature
Set Pulumi.Aws Native. Ram. Permission Association Feature Set - The feature set of the resource share.
- Is
Default bool - Indicates whether the associated resource share is using the default version of the permission.
- Last
Updated stringTime - The date and time when the association between the permission and the resource share was last updated.
- Permission
Version string - The version of the permission currently associated with the resource share.
- Resource
Type string - The resource type to which the permission applies.
- Association
Status PermissionAssociation Association Status - The current status of the association between the permission and the resource share.
- Feature
Set PermissionAssociation Feature Set - The feature set of the resource share.
- Is
Default bool - Indicates whether the associated resource share is using the default version of the permission.
- Last
Updated stringTime - The date and time when the association between the permission and the resource share was last updated.
- Permission
Version string - The version of the permission currently associated with the resource share.
- Resource
Type string - The resource type to which the permission applies.
- association_
status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "SUSPENDED" | "SUSPENDING" | "RESTORING" | "DISASSOCIATED" - The current status of the association between the permission and the resource share.
- feature_
set "STANDARD" | "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" - The feature set of the resource share.
- is_
default bool - Indicates whether the associated resource share is using the default version of the permission.
- last_
updated_ stringtime - The date and time when the association between the permission and the resource share was last updated.
- permission_
version string - The version of the permission currently associated with the resource share.
- resource_
type string - The resource type to which the permission applies.
- association
Status PermissionAssociation Association Status - The current status of the association between the permission and the resource share.
- feature
Set PermissionAssociation Feature Set - The feature set of the resource share.
- is
Default Boolean - Indicates whether the associated resource share is using the default version of the permission.
- last
Updated StringTime - The date and time when the association between the permission and the resource share was last updated.
- permission
Version String - The version of the permission currently associated with the resource share.
- resource
Type String - The resource type to which the permission applies.
- association
Status PermissionAssociation Association Status - The current status of the association between the permission and the resource share.
- feature
Set PermissionAssociation Feature Set - The feature set of the resource share.
- is
Default boolean - Indicates whether the associated resource share is using the default version of the permission.
- last
Updated stringTime - The date and time when the association between the permission and the resource share was last updated.
- permission
Version string - The version of the permission currently associated with the resource share.
- resource
Type string - The resource type to which the permission applies.
- association_
status PermissionAssociation Association Status - The current status of the association between the permission and the resource share.
- feature_
set PermissionAssociation Feature Set - The feature set of the resource share.
- is_
default bool - Indicates whether the associated resource share is using the default version of the permission.
- last_
updated_ strtime - The date and time when the association between the permission and the resource share was last updated.
- permission_
version str - The version of the permission currently associated with the resource share.
- resource_
type str - The resource type to which the permission applies.
- association
Status "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "SUSPENDED" | "SUSPENDING" | "RESTORING" | "DISASSOCIATED" - The current status of the association between the permission and the resource share.
- feature
Set "STANDARD" | "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" - The feature set of the resource share.
- is
Default Boolean - Indicates whether the associated resource share is using the default version of the permission.
- last
Updated StringTime - The date and time when the association between the permission and the resource share was last updated.
- permission
Version String - The version of the permission currently associated with the resource share.
- resource
Type String - The resource type to which the permission applies.
Supporting Types
PermissionAssociationAssociationStatus
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Disassociated | DISASSOCIATED |
| Name | Value |
|---|---|
| Permission | ASSOCIATING |
| Permission | ASSOCIATED |
| Permission | FAILED |
| Permission | DISASSOCIATING |
| Permission | SUSPENDED |
| Permission | SUSPENDING |
| Permission | RESTORING |
| Permission | DISASSOCIATED |
| Value |
|---|
ASSOCIATING |
ASSOCIATED |
FAILED |
DISASSOCIATING |
SUSPENDED |
SUSPENDING |
RESTORING |
DISASSOCIATED |
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Disassociated | DISASSOCIATED |
| Name | Value |
|---|---|
| Associating | ASSOCIATING |
| Associated | ASSOCIATED |
| Failed | FAILED |
| Disassociating | DISASSOCIATING |
| Suspended | SUSPENDED |
| Suspending | SUSPENDING |
| Restoring | RESTORING |
| Disassociated | DISASSOCIATED |
| Name | Value |
|---|---|
| ASSOCIATING | ASSOCIATING |
| ASSOCIATED | ASSOCIATED |
| FAILED | FAILED |
| DISASSOCIATING | DISASSOCIATING |
| SUSPENDED | SUSPENDED |
| SUSPENDING | SUSPENDING |
| RESTORING | RESTORING |
| DISASSOCIATED | DISASSOCIATED |
| Value |
|---|
ASSOCIATING |
ASSOCIATED |
FAILED |
DISASSOCIATING |
SUSPENDED |
SUSPENDING |
RESTORING |
DISASSOCIATED |
PermissionAssociationFeatureSet
| Name | Value |
|---|---|
| Standard | STANDARD |
| Created | CREATED_FROM_POLICY |
| Promoting | PROMOTING_TO_STANDARD |
| Name | Value |
|---|---|
| Permission | STANDARD |
| Permission | CREATED_FROM_POLICY |
| Permission | PROMOTING_TO_STANDARD |
| Value |
|---|
STANDARD |
CREATED_FROM_POLICY |
PROMOTING_TO_STANDARD |
| Name | Value |
|---|---|
| Standard | STANDARD |
| Created | CREATED_FROM_POLICY |
| Promoting | PROMOTING_TO_STANDARD |
| Name | Value |
|---|---|
| Standard | STANDARD |
| Created | CREATED_FROM_POLICY |
| Promoting | PROMOTING_TO_STANDARD |
| Name | Value |
|---|---|
| STANDARD | STANDARD |
| CREATED_FROM_POLICY | CREATED_FROM_POLICY |
| PROMOTING_TO_STANDARD | PROMOTING_TO_STANDARD |
| Value |
|---|
STANDARD |
CREATED_FROM_POLICY |
PROMOTING_TO_STANDARD |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi