We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 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.
Create PermissionAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PermissionAssociation(name: string, args: PermissionAssociationArgs, opts?: CustomResourceOptions);@overload
def PermissionAssociation(resource_name: str,
args: PermissionAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PermissionAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
permission_arn: Optional[str] = None,
resource_share_arn: Optional[str] = None,
replace: Optional[bool] = None)func NewPermissionAssociation(ctx *Context, name string, args PermissionAssociationArgs, opts ...ResourceOption) (*PermissionAssociation, error)public PermissionAssociation(string name, PermissionAssociationArgs args, CustomResourceOptions? opts = null)
public PermissionAssociation(String name, PermissionAssociationArgs args)
public PermissionAssociation(String name, PermissionAssociationArgs args, CustomResourceOptions options)
type: aws-native:ram:PermissionAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ram_permission_association" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PermissionAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PermissionAssociationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PermissionAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PermissionAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PermissionAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PermissionAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PermissionAssociation resource accepts the following input properties:
- 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.
- Replace bool
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- Replace bool
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- replace bool
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- replace Boolean
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- replace boolean
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- replace bool
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
- 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.
- replace Boolean
- Specifies whether to replace the existing permission on the resource share. Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.
Outputs
All input properties are implicitly available as output properties. Additionally, the PermissionAssociation resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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, PermissionAssociationAssociationStatusArgs
- Associating
ASSOCIATING- Associated
ASSOCIATED- Failed
FAILED- Disassociating
DISASSOCIATING- Suspended
SUSPENDED- Suspending
SUSPENDING- Restoring
RESTORING- Disassociated
DISASSOCIATED
- Permission
Association Association Status Associating ASSOCIATING- Permission
Association Association Status Associated ASSOCIATED- Permission
Association Association Status Failed FAILED- Permission
Association Association Status Disassociating DISASSOCIATING- Permission
Association Association Status Suspended SUSPENDED- Permission
Association Association Status Suspending SUSPENDING- Permission
Association Association Status Restoring RESTORING- Permission
Association Association Status Disassociated DISASSOCIATED
- "ASSOCIATING"
ASSOCIATING- "ASSOCIATED"
ASSOCIATED- "FAILED"
FAILED- "DISASSOCIATING"
DISASSOCIATING- "SUSPENDED"
SUSPENDED- "SUSPENDING"
SUSPENDING- "RESTORING"
RESTORING- "DISASSOCIATED"
DISASSOCIATED
- Associating
ASSOCIATING- Associated
ASSOCIATED- Failed
FAILED- Disassociating
DISASSOCIATING- Suspended
SUSPENDED- Suspending
SUSPENDING- Restoring
RESTORING- Disassociated
DISASSOCIATED
- Associating
ASSOCIATING- Associated
ASSOCIATED- Failed
FAILED- Disassociating
DISASSOCIATING- Suspended
SUSPENDED- Suspending
SUSPENDING- Restoring
RESTORING- Disassociated
DISASSOCIATED
- ASSOCIATING
ASSOCIATING- ASSOCIATED
ASSOCIATED- FAILED
FAILED- DISASSOCIATING
DISASSOCIATING- SUSPENDED
SUSPENDED- SUSPENDING
SUSPENDING- RESTORING
RESTORING- DISASSOCIATED
DISASSOCIATED
- "ASSOCIATING"
ASSOCIATING- "ASSOCIATED"
ASSOCIATED- "FAILED"
FAILED- "DISASSOCIATING"
DISASSOCIATING- "SUSPENDED"
SUSPENDED- "SUSPENDING"
SUSPENDING- "RESTORING"
RESTORING- "DISASSOCIATED"
DISASSOCIATED
PermissionAssociationFeatureSet, PermissionAssociationFeatureSetArgs
- Standard
STANDARD- Created
From Policy CREATED_FROM_POLICY- Promoting
To Standard PROMOTING_TO_STANDARD
- Permission
Association Feature Set Standard STANDARD- Permission
Association Feature Set Created From Policy CREATED_FROM_POLICY- Permission
Association Feature Set Promoting To Standard PROMOTING_TO_STANDARD
- "STANDARD"
STANDARD- "CREATED_FROM_POLICY"
CREATED_FROM_POLICY- "PROMOTING_TO_STANDARD"
PROMOTING_TO_STANDARD
- Standard
STANDARD- Created
From Policy CREATED_FROM_POLICY- Promoting
To Standard PROMOTING_TO_STANDARD
- Standard
STANDARD- Created
From Policy CREATED_FROM_POLICY- Promoting
To Standard PROMOTING_TO_STANDARD
- STANDARD
STANDARD- CREATED_FROM_POLICY
CREATED_FROM_POLICY- PROMOTING_TO_STANDARD
PROMOTING_TO_STANDARD
- "STANDARD"
STANDARD- "CREATED_FROM_POLICY"
CREATED_FROM_POLICY- "PROMOTING_TO_STANDARD"
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 Monday, Nov 2, 2026 by Pulumi