PermissionAssociationReference Struct
A reference to a PermissionAssociation resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ram as interfaces_ram } from 'aws-cdk-lib/interfaces';
const permissionAssociationReference: interfaces_ram.PermissionAssociationReference = {
permissionArn: 'permissionArn',
resourceShareArn: 'resourceShareArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ram as interfaces_ram
permission_association_reference = interfaces_ram.PermissionAssociationReference(
permission_arn="permissionArn",
resource_share_arn="resourceShareArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ram.*;
PermissionAssociationReference permissionAssociationReference = PermissionAssociationReference.builder()
.permissionArn("permissionArn")
.resourceShareArn("resourceShareArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.RAM;
var permissionAssociationReference = new PermissionAssociationReference {
PermissionArn = "permissionArn",
ResourceShareArn = "resourceShareArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
permissionAssociationReference := &PermissionAssociationReference{
PermissionArn: jsii.String("permissionArn"),
ResourceShareArn: jsii.String("resourceShareArn"),
}
Properties
permissionArnstringpermission_arnstrpermissionArnStringPermissionArnstringPermissionArn*string required #The PermissionArn of the PermissionAssociation resource.