404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.16.139.76: ~ $
**To retrieve the permissions policy for a Lambda layer version**

The following ``get-layer-version-policy`` example displays policy information about version 1 for the layer named ``my-layer``. ::

    aws lambda get-layer-version-policy \
        --layer-name my-layer \
        --version-number 1

Output::

    {
        "Policy": {
            "Version":"2012-10-17",
            "Id":"default",
            "Statement":
            [
                {
                    "Sid":"xaccount",
                    "Effect":"Allow",
                    "Principal": {"AWS":"arn:aws:iam::123456789012:root"},
                    "Action":"lambda:GetLayerVersion",
                    "Resource":"arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1"
                }
            ]
        },
        "RevisionId": "c68f21d2-cbf0-4026-90f6-1375ee465cd0"
    }

For more information, see `AWS Lambda Layers <https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html>`__ in the *AWS Lambda Developer Guide*.

Filemanager

Name Type Size Permission Actions
add-layer-version-permission.rst File 975 B 0755
add-permission.rst File 894 B 0755
create-alias.rst File 828 B 0755
create-event-source-mapping.rst File 959 B 0755
create-function.rst File 1.37 KB 0755
delete-alias.rst File 459 B 0755
delete-event-source-mapping.rst File 880 B 0755
delete-function-concurrency.rst File 517 B 0755
delete-function-event-invoke-config.rst File 313 B 0755
delete-function.rst File 402 B 0755
delete-layer-version.rst File 435 B 0755
delete-provisioned-concurrency-config.rst File 350 B 0755
get-account-settings.rst File 733 B 0755
get-alias.rst File 721 B 0755
get-event-source-mapping.rst File 868 B 0755
get-function-concurrency.rst File 344 B 0755
get-function-configuration.rst File 1.23 KB 0755
get-function-event-invoke-config.rst File 757 B 0755
get-function.rst File 1.56 KB 0755
get-layer-version-by-arn.rst File 1.42 KB 0755
get-layer-version-policy.rst File 1022 B 0755
get-layer-version.rst File 1.14 KB 0755
get-policy.rst File 1016 B 0755
get-provisioned-concurrency-config.rst File 635 B 0755
invoke.rst File 1.1 KB 0755
list-aliases.rst File 1.11 KB 0755
list-event-source-mappings.rst File 967 B 0755
list-function-event-invoke-configs.rst File 924 B 0755
list-functions.rst File 3.6 KB 0755
list-layer-versions.rst File 835 B 0755
list-layers.rst File 1.05 KB 0755
list-provisioned-concurrency-configs.rst File 1.2 KB 0755
list-tags.rst File 543 B 0755
list-versions-by-function.rst File 3.42 KB 0755
publish-layer-version.rst File 1.38 KB 0755
publish-version.rst File 1.07 KB 0755
put-function-concurrency.rst File 580 B 0755
put-function-event-invoke-config.rst File 731 B 0755
put-provisioned-concurrency-config.rst File 597 B 0755
remove-layer-version-permission.rst File 502 B 0755
remove-permission.rst File 500 B 0755
tag-resource.rst File 539 B 0755
untag-resource.rst File 522 B 0755
update-alias.rst File 751 B 0755
update-event-source-mapping.rst File 879 B 0755
update-function-code.rst File 1.3 KB 0755
update-function-configuration.rst File 1.28 KB 0755
update-function-event-invoke-config.rst File 883 B 0755