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.

Link

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.
import aws_cdk.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.

Link

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

Return type

str

principal

The AWS principal receiving cross-account permissions.

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

Link

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

Return type

str

profile_name

The human-readable name of the signing profile.

Link

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

Return type

str

profile_version

The version of the signing profile.

Link

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

Return type

Optional[str]

statement_id

A unique identifier for the cross-account permission statement.

Link

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

Return type

str