CfnLayerVersionPermissionProps

class aws_cdk.aws_lambda.CfnLayerVersionPermissionProps(*, action, layer_version_arn, principal, organization_id=None)

Bases: object

__init__(*, action, layer_version_arn, principal, organization_id=None)

Properties for defining a AWS::Lambda::LayerVersionPermission.

Parameters
  • action (str) – AWS::Lambda::LayerVersionPermission.Action.

  • layer_version_arn (str) – AWS::Lambda::LayerVersionPermission.LayerVersionArn.

  • principal (str) – AWS::Lambda::LayerVersionPermission.Principal.

  • organization_id (Optional[str]) – AWS::Lambda::LayerVersionPermission.OrganizationId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html

Return type

None

Attributes

action

AWS::Lambda::LayerVersionPermission.Action.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-action

Return type

str

layer_version_arn

AWS::Lambda::LayerVersionPermission.LayerVersionArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-layerversionarn

Return type

str

organization_id

AWS::Lambda::LayerVersionPermission.OrganizationId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-organizationid

Return type

Optional[str]

principal

AWS::Lambda::LayerVersionPermission.Principal.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html#cfn-lambda-layerversionpermission-principal

Return type

str