Skip to content

LambdaClient.create_code_signing_config

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

Install and imports

python -m pip install "rboto[lambda]==0.4.0"
from rboto import LambdaClient
from rboto_lambda.types import (
    AllowedPublishers,
    CodeSigningPolicies,
    CreateCodeSigningConfigOutput,
)

Signature

async def create_code_signing_config(
    *,
    allowed_publishers: AllowedPublishers,
    description: str | None = None,
    code_signing_policies: CodeSigningPolicies | None = None,
    tags: dict[str, str] | None = None,
) -> CreateCodeSigningConfigOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
allowed_publishers Yes Signing profiles for this code signing configuration.
description No Descriptive name for this code signing configuration.
code_signing_policies No The code signing policies define the actions to take if the validation checks fail.
tags No A list of tags to add to the code signing configuration.

Output

CreateCodeSigningConfigOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
code_signing_config CodeSigningConfigOutput | None Always present CodeSigningConfigOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

AllowedPublishers, CodeSigningPolicies, CreateCodeSigningConfigOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_lambda.exceptions:

InvalidParameterValueError, ServiceError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model