Skip to content
v2.274.0

CfnProfilePermissionProps Struct ​

Properties for defining a CfnProfilePermission.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_signer as signer } from 'aws-cdk-lib';
const cfnProfilePermissionProps: signer.CfnProfilePermissionProps = {
  action: 'action',
  principal: 'principal',
  profileName: 'profileName',
  statementId: 'statementId',

  // the properties below are optional
  profileVersion: 'profileVersion',
};

Properties ​

actionstringactionstractionStringActionstringAction*stringrequired#
The AWS Signer action permitted as part of cross-account permissions.
principalstringprincipalstrprincipalStringPrincipalstringPrincipal*stringrequired#
The AWS principal receiving cross-account permissions.

This may be an IAM role or another AWS account ID.

profileNamestringprofile_namestrprofileNameStringProfileNamestringProfileName*stringrequired#
The human-readable name of the signing profile.
profileVersionoptionalstringprofile_versionoptionalstrprofileVersionoptionalStringProfileVersionoptionalstringProfileVersionoptional*string#
The version of the signing profile.
statementIdstringstatement_idstrstatementIdStringStatementIdstringStatementId*stringrequired#
A unique identifier for the cross-account permission statement.