1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ram
  6. getPermissionAssociation

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 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 dictionary
    data "aws-native_ram_get_permission_association" "name" {
        # arguments
    }

    The following arguments are supported:

    PermissionArn string
    Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
    ResourceShareArn string
    Specifies the Amazon Resource Name (ARN) of the resource share.
    PermissionArn string
    Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
    ResourceShareArn 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.
    resource_share_arn string
    Specifies the Amazon Resource Name (ARN) of the resource share.
    permissionArn String
    Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
    resourceShareArn String
    Specifies the Amazon Resource Name (ARN) of the resource share.
    permissionArn string
    Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
    resourceShareArn 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.
    resource_share_arn str
    Specifies the Amazon Resource Name (ARN) of the resource share.
    permissionArn String
    Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
    resourceShareArn String
    Specifies the Amazon Resource Name (ARN) of the resource share.

    getPermissionAssociation Result

    The following output properties are available:

    AssociationStatus Pulumi.AwsNative.Ram.PermissionAssociationAssociationStatus
    The current status of the association between the permission and the resource share.
    FeatureSet Pulumi.AwsNative.Ram.PermissionAssociationFeatureSet
    The feature set of the resource share.
    IsDefault bool
    Indicates whether the associated resource share is using the default version of the permission.
    LastUpdatedTime string
    The date and time when the association between the permission and the resource share was last updated.
    PermissionVersion string
    The version of the permission currently associated with the resource share.
    ResourceType string
    The resource type to which the permission applies.
    AssociationStatus PermissionAssociationAssociationStatus
    The current status of the association between the permission and the resource share.
    FeatureSet PermissionAssociationFeatureSet
    The feature set of the resource share.
    IsDefault bool
    Indicates whether the associated resource share is using the default version of the permission.
    LastUpdatedTime string
    The date and time when the association between the permission and the resource share was last updated.
    PermissionVersion string
    The version of the permission currently associated with the resource share.
    ResourceType 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_time string
    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.
    associationStatus PermissionAssociationAssociationStatus
    The current status of the association between the permission and the resource share.
    featureSet PermissionAssociationFeatureSet
    The feature set of the resource share.
    isDefault Boolean
    Indicates whether the associated resource share is using the default version of the permission.
    lastUpdatedTime String
    The date and time when the association between the permission and the resource share was last updated.
    permissionVersion String
    The version of the permission currently associated with the resource share.
    resourceType String
    The resource type to which the permission applies.
    associationStatus PermissionAssociationAssociationStatus
    The current status of the association between the permission and the resource share.
    featureSet PermissionAssociationFeatureSet
    The feature set of the resource share.
    isDefault boolean
    Indicates whether the associated resource share is using the default version of the permission.
    lastUpdatedTime string
    The date and time when the association between the permission and the resource share was last updated.
    permissionVersion string
    The version of the permission currently associated with the resource share.
    resourceType string
    The resource type to which the permission applies.
    association_status PermissionAssociationAssociationStatus
    The current status of the association between the permission and the resource share.
    feature_set PermissionAssociationFeatureSet
    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_time str
    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.
    associationStatus "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "SUSPENDED" | "SUSPENDING" | "RESTORING" | "DISASSOCIATED"
    The current status of the association between the permission and the resource share.
    featureSet "STANDARD" | "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD"
    The feature set of the resource share.
    isDefault Boolean
    Indicates whether the associated resource share is using the default version of the permission.
    lastUpdatedTime String
    The date and time when the association between the permission and the resource share was last updated.
    permissionVersion String
    The version of the permission currently associated with the resource share.
    resourceType String
    The resource type to which the permission applies.

    Supporting Types

    PermissionAssociationAssociationStatus

    NameValue
    AssociatingASSOCIATING
    AssociatedASSOCIATED
    FailedFAILED
    DisassociatingDISASSOCIATING
    SuspendedSUSPENDED
    SuspendingSUSPENDING
    RestoringRESTORING
    DisassociatedDISASSOCIATED
    NameValue
    PermissionAssociationAssociationStatusAssociatingASSOCIATING
    PermissionAssociationAssociationStatusAssociatedASSOCIATED
    PermissionAssociationAssociationStatusFailedFAILED
    PermissionAssociationAssociationStatusDisassociatingDISASSOCIATING
    PermissionAssociationAssociationStatusSuspendedSUSPENDED
    PermissionAssociationAssociationStatusSuspendingSUSPENDING
    PermissionAssociationAssociationStatusRestoringRESTORING
    PermissionAssociationAssociationStatusDisassociatedDISASSOCIATED
    Value
    ASSOCIATING
    ASSOCIATED
    FAILED
    DISASSOCIATING
    SUSPENDED
    SUSPENDING
    RESTORING
    DISASSOCIATED
    NameValue
    AssociatingASSOCIATING
    AssociatedASSOCIATED
    FailedFAILED
    DisassociatingDISASSOCIATING
    SuspendedSUSPENDED
    SuspendingSUSPENDING
    RestoringRESTORING
    DisassociatedDISASSOCIATED
    NameValue
    AssociatingASSOCIATING
    AssociatedASSOCIATED
    FailedFAILED
    DisassociatingDISASSOCIATING
    SuspendedSUSPENDED
    SuspendingSUSPENDING
    RestoringRESTORING
    DisassociatedDISASSOCIATED
    NameValue
    ASSOCIATINGASSOCIATING
    ASSOCIATEDASSOCIATED
    FAILEDFAILED
    DISASSOCIATINGDISASSOCIATING
    SUSPENDEDSUSPENDED
    SUSPENDINGSUSPENDING
    RESTORINGRESTORING
    DISASSOCIATEDDISASSOCIATED
    Value
    ASSOCIATING
    ASSOCIATED
    FAILED
    DISASSOCIATING
    SUSPENDED
    SUSPENDING
    RESTORING
    DISASSOCIATED

    PermissionAssociationFeatureSet

    NameValue
    StandardSTANDARD
    CreatedFromPolicyCREATED_FROM_POLICY
    PromotingToStandardPROMOTING_TO_STANDARD
    NameValue
    PermissionAssociationFeatureSetStandardSTANDARD
    PermissionAssociationFeatureSetCreatedFromPolicyCREATED_FROM_POLICY
    PermissionAssociationFeatureSetPromotingToStandardPROMOTING_TO_STANDARD
    Value
    STANDARD
    CREATED_FROM_POLICY
    PROMOTING_TO_STANDARD
    NameValue
    StandardSTANDARD
    CreatedFromPolicyCREATED_FROM_POLICY
    PromotingToStandardPROMOTING_TO_STANDARD
    NameValue
    StandardSTANDARD
    CreatedFromPolicyCREATED_FROM_POLICY
    PromotingToStandardPROMOTING_TO_STANDARD
    NameValue
    STANDARDSTANDARD
    CREATED_FROM_POLICYCREATED_FROM_POLICY
    PROMOTING_TO_STANDARDPROMOTING_TO_STANDARD
    Value
    STANDARD
    CREATED_FROM_POLICY
    PROMOTING_TO_STANDARD

    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