interface CfnPermissionAssociationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.RAM.CfnPermissionAssociationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsram#CfnPermissionAssociationMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ram.CfnPermissionAssociationMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ram.CfnPermissionAssociationMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ram » CfnPermissionAssociationMixinProps |
Properties for CfnPermissionAssociationPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ram as ram } from '@aws-cdk/cfn-property-mixins';
const cfnPermissionAssociationMixinProps: ram.CfnPermissionAssociationMixinProps = {
permissionArn: 'permissionArn',
replace: false,
resourceShareArn: 'resourceShareArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| permission | string | Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share. |
| replace? | boolean | IResolvable | Specifies whether to replace the existing permission on the resource share. |
| resource | string | Specifies the Amazon Resource Name (ARN) of the resource share. |
permissionArn?
Type:
string
(optional)
Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.
replace?
Type:
boolean | IResolvable
(optional, default: false)
Specifies whether to replace the existing permission on the resource share.
Use true to replace the current permission. Use false to add the permission when no permission is currently associated. The default value is false. Updating an existing association also requires true, because AWS RAM applies the change by re-associating the permission.
resourceShareArn?
Type:
string
(optional)
Specifies the Amazon Resource Name (ARN) of the resource share.

.NET
Go
Java
Python
TypeScript