Skip to content

create_code_signing_config

Operation

create_code_signing_config

create_code_signing_config(request: CreateCodeSigningConfigInput | CreateCodeSigningConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateCodeSigningConfigInputDict]) -> CreateCodeSigningConfigOutput

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).

Parameters:

Name Type Description Default
request CreateCodeSigningConfigInput | CreateCodeSigningConfigInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[CreateCodeSigningConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateCodeSigningConfigOutput

An instance of CreateCodeSigningConfigOutput.

create_code_signing_config async

create_code_signing_config(request: CreateCodeSigningConfigInput | CreateCodeSigningConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateCodeSigningConfigInputDict]) -> CreateCodeSigningConfigOutput

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).

Parameters:

Name Type Description Default
request CreateCodeSigningConfigInput | CreateCodeSigningConfigInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[CreateCodeSigningConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateCodeSigningConfigOutput

An instance of CreateCodeSigningConfigOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

CreateCodeSigningConfigInputDict

Bases: TypedDict

Dictionary form of CreateCodeSigningConfigInput.

Attributes

allowed_publishers instance-attribute

Signing profiles for this code signing configuration.

code_signing_policies instance-attribute
code_signing_policies: CodeSigningPolicies | CodeSigningPoliciesDict | None

The code signing policies define the actions to take if the validation checks fail.

description instance-attribute
description: str | None

Descriptive name for this code signing configuration.

tags instance-attribute
tags: Mapping[str, str] | None

A list of tags to add to the code signing configuration.

CreateCodeSigningConfigInput dataclass

Bases: _SerdeShape

Dataclass for CreateCodeSigningConfigInput structure.

Attributes

allowed_publishers class-attribute instance-attribute
allowed_publishers: AllowedPublishers | None = ...

Signing profiles for this code signing configuration.

code_signing_policies class-attribute instance-attribute
code_signing_policies: CodeSigningPolicies | None = ...

The code signing policies define the actions to take if the validation checks fail.

description class-attribute instance-attribute
description: str | None = ...

Descriptive name for this code signing configuration.

tags class-attribute instance-attribute
tags: dict[str, str] | None = ...

A list of tags to add to the code signing configuration.

Output

CreateCodeSigningConfigOutput dataclass

Bases: _SerdeShape

Dataclass for CreateCodeSigningConfigOutput structure.

Attributes

code_signing_config instance-attribute
code_signing_config: CodeSigningConfig

The code signing configuration.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.