runway.cfngin.hooks.awslambda.models.responses module¶
Response data models.
- pydantic model runway.cfngin.hooks.awslambda.models.responses.AwsLambdaHookDeployResponse[source]¶
Bases:
BaseModel
Data model for AwsLambdaHook deploy response.
When returned by the hook as
hook_data
, this model is dumped to a standardDict
using the field’s aliases as thekey
in place of the attribute names. This is done so that thekey
is a direct match to a CloudFormation Property where the value should be used.Show JSON schema
{ "title": "AwsLambdaHookDeployResponse", "description": "Data model for AwsLambdaHook deploy response.\n\nWhen returned by the hook as ``hook_data``, this model is dumped to a\nstandard :class:`~typing.Dict` using the field's aliases as the ``key`` in\nplace of the attribute names.\nThis is done so that the ``key`` is a direct match to a CloudFormation\nProperty where the value should be used.", "type": "object", "properties": { "S3Bucket": { "title": "S3Bucket", "type": "string" }, "CodeSha256": { "title": "Codesha256", "type": "string" }, "CompatibleArchitectures": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Compatiblearchitectures" }, "CompatibleRuntimes": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Compatibleruntimes" }, "License": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "License" }, "S3Key": { "title": "S3Key", "type": "string" }, "S3ObjectVersion": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "S3Objectversion" }, "Runtime": { "title": "Runtime", "type": "string" } }, "additionalProperties": false, "required": [ "S3Bucket", "CodeSha256", "S3Key", "Runtime" ] }
- field bucket_name: Annotated[str, Field(alias='S3Bucket')] = PydanticUndefined (alias 'S3Bucket')¶
Name of the S3 Bucket where the deployment package is located. (alias
S3Bucket
)
- field code_sha256: Annotated[str, Field(alias='CodeSha256')] = PydanticUndefined (alias 'CodeSha256')¶
SHA256 of the deployment package. This can be used by CloudFormation as the value of
AWS::Lambda::Version.CodeSha256
. (aliasCodeSha256
)
- field compatible_architectures: Annotated[list[str] | None, Field(alias='CompatibleArchitectures')] = None (alias 'CompatibleArchitectures')¶
A list of compatible instruction set architectures. (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html) (alias
CompatibleArchitectures
)
- field compatible_runtimes: Annotated[list[str] | None, Field(alias='CompatibleRuntimes')] = None (alias 'CompatibleRuntimes')¶
A list of compatible function runtimes. Used for filtering with
ListLayers
andListLayerVersions
. (aliasCompatibleRuntimes
)
- field license: Annotated[str | None, Field(alias='License')] = None (alias 'License')¶
The layer’s software license (alias
License
). Can be any of the following:A SPDX license identifier (e.g.
MIT
).The URL of a license hosted on the internet (e.g.
https://opensource.org/licenses/MIT
).The full text of the license.
- field object_key: Annotated[str, Field(alias='S3Key')] = PydanticUndefined (alias 'S3Key')¶
Key (file path) of the deployment package S3 Object. (alias
S3Key
)