Add layer version permissions
async_boto.validation.lambda_.add_layer_version_permissions
AddLayerVersionPermissionRequest
Bases: BaseModel
Request model for the AddLayerVersionPermission operation.
Adds permissions to the resource-based policy of a version of an AWS Lambda layer.
| ATTRIBUTE | DESCRIPTION |
|---|---|
LayerName |
The name or Amazon Resource Name (ARN) of the layer.
TYPE:
|
VersionNumber |
The version number.
TYPE:
|
RevisionId |
Only update the policy if the revision ID matches the ID specified.
TYPE:
|
Action |
The API action that grants access to the layer. For example, lambda:GetLayerVersion.
TYPE:
|
OrganizationId |
With the principal set to *, grant permission to all accounts in the specified organization.
TYPE:
|
Principal |
An account ID, or * to grant layer usage permission to all accounts in an organization, or all AWS accounts.
TYPE:
|
StatementId |
An identifier that distinguishes the policy from others on the same layer version.
TYPE:
|
LayerName
instance-attribute
LayerName
VersionNumber
instance-attribute
VersionNumber
RevisionId
class-attribute
instance-attribute
RevisionId = None
Action
instance-attribute
Action
OrganizationId
class-attribute
instance-attribute
OrganizationId = None
Principal
instance-attribute
Principal
StatementId
instance-attribute
StatementId
AddLayerVersionPermissionResponse
Bases: BaseModel
Response model for the AddLayerVersionPermission operation.
| ATTRIBUTE | DESCRIPTION |
|---|---|
RevisionId |
A unique identifier for the current revision of the policy.
TYPE:
|
Statement |
The permission statement.
TYPE:
|
RevisionId
instance-attribute
RevisionId
Statement
instance-attribute
Statement