404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**To modify the configuration of a function**

The following ``update-function-configuration`` example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of the ``my-function`` function. ::

    aws lambda update-function-configuration \
        --function-name  my-function \
        --memory-size 256

Output::

    {
        "FunctionName": "my-function",
        "LastModified": "2019-09-26T20:28:40.438+0000",
        "RevisionId": "e52502d4-9320-4688-9cd6-152a6ab7490d",
        "MemorySize": 256,
        "Version": "$LATEST",
        "Role": "arn:aws:iam::123456789012:role/service-role/my-function-role-uy3l9qyq",
        "Timeout": 3,
        "Runtime": "nodejs10.x",
        "TracingConfig": {
            "Mode": "PassThrough"
        },
        "CodeSha256": "5tT2qgzYUHaqwR716pZ2dpkn/0J1FrzJmlKidWoaCgk=",
        "Description": "",
        "VpcConfig": {
            "SubnetIds": [],
            "VpcId": "",
            "SecurityGroupIds": []
        },
        "CodeSize": 304,
        "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
        "Handler": "index.handler"
    }

For more information, see `AWS Lambda Function Configuration <https://docs.aws.amazon.com/lambda/latest/dg/resource-model.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