FunctionConfigure 类型

命名空间和模块:tencent.cloud.serverless.functions

简要

包含无服务器云函数配置的字典类型。

{
    'handler': 'index.main',
    'memory_size': 128,
    'time_out': 3,
    'vpc_configure': {
        'vpc_id': ...,
        'subnet_id': ...
    },
    'role_id': 'SCF_QcsRole',
    'log_configure': {
        'logset_id': ...,
        'topic_id': ...
    },
    'environments': {
        'NAME': 'serverless',
        'VALUE': 'cloud-function'
    },
    'eip_configure': {
        'enabled': True,
        'addresses': [
            ...
        ]
    },
    'access_configure': {
        'hostname': ...,
        'ip_address': ...
    },
    'layers': [
        ...
    ],
    'dead_letter': {
        'type': '...',
        'name': '...'
    }
}

成员

该数据类型包含的成员和成员描述如下:

适用于

Tencent Cloud SDK for Python

产品软件包:tencent-cloud-sdk-serverless-functions >= 0.1.1

最后更新于