CfnPermissionProps

class aws_cdk.aws_acmpca.CfnPermissionProps(*, actions, certificate_authority_arn, principal, source_account=None)

Bases: object

Properties for defining a CfnPermission.

Parameters:
  • actions (Sequence[str]) – The private CA actions that can be performed by the designated AWS service. Supported actions are IssueCertificate , GetCertificate , and ListPermissions .

  • certificate_authority_arn (str) – The Amazon Resource Number (ARN) of the private CA from which the permission was issued.

  • principal (str) – The AWS service or entity that holds the permission. At this time, the only valid principal is acm.amazonaws.com .

  • source_account (Optional[str]) – The ID of the account that assigned the permission.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.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_acmpca as acmpca

cfn_permission_props = acmpca.CfnPermissionProps(
    actions=["actions"],
    certificate_authority_arn="certificateAuthorityArn",
    principal="principal",

    # the properties below are optional
    source_account="sourceAccount"
)

Attributes

actions

The private CA actions that can be performed by the designated AWS service.

Supported actions are IssueCertificate , GetCertificate , and ListPermissions .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-actions

certificate_authority_arn

The Amazon Resource Number (ARN) of the private CA from which the permission was issued.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-certificateauthorityarn

principal

The AWS service or entity that holds the permission.

At this time, the only valid principal is acm.amazonaws.com .

See:

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

source_account

The ID of the account that assigned the permission.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-sourceaccount