CfnProfilePermissionProps

class aws_cdk.aws_signer.CfnProfilePermissionProps(*, action, principal, profile_name, statement_id, profile_version=None)

Bases: object

Properties for defining a CfnProfilePermission.

Parameters:
  • action (str) – The AWS Signer action permitted as part of cross-account permissions.

  • principal (str) – The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.

  • profile_name (str) – The human-readable name of the signing profile.

  • statement_id (str) – A unique identifier for the cross-account permission statement.

  • profile_version (Optional[str]) – The version of the signing profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_signer as signer

cfn_profile_permission_props = signer.CfnProfilePermissionProps(
    action="action",
    principal="principal",
    profile_name="profileName",
    statement_id="statementId",

    # the properties below are optional
    profile_version="profileVersion"
)

Attributes

action

The AWS Signer action permitted as part of cross-account permissions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-action

principal

The AWS principal receiving cross-account permissions.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-principal

profile_name

The human-readable name of the signing profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profilename

profile_version

The version of the signing profile.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profileversion

statement_id

A unique identifier for the cross-account permission statement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-statementid