Skip to main content

code_signing_configs

Creates, updates, deletes or gets a code_signing_config resource or lists code_signing_configs in a region

Overview

Namecode_signing_configs
TypeResource
DescriptionResource Type definition for AWS::Lambda::CodeSigningConfig.
Idaws.lambda.code_signing_configs

Fields

NameDatatypeDescription
descriptionstringA description of the CodeSigningConfig
allowed_publishersobjectWhen the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list
code_signing_policiesobjectPolicies to control how to act if a signature is invalid
code_signing_config_idstringA unique identifier for CodeSigningConfig resource
code_signing_config_arnstringA unique Arn for CodeSigningConfig resource
tagsarrayA list of tags to apply to CodeSigningConfig resource
regionstringAWS region.

For more information, see AWS::Lambda::CodeSigningConfig.

Methods

NameAccessible byRequired Params
create_resourceINSERTAllowedPublishers, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all code_signing_configs in a region.

SELECT
region,
description,
allowed_publishers,
code_signing_policies,
code_signing_config_id,
code_signing_config_arn,
tags
FROM aws.lambda.code_signing_configs
WHERE region = 'us-east-1';

Gets all properties from an individual code_signing_config.

SELECT
region,
description,
allowed_publishers,
code_signing_policies,
code_signing_config_id,
code_signing_config_arn,
tags
FROM aws.lambda.code_signing_configs
WHERE region = 'us-east-1' AND data__Identifier = '<CodeSigningConfigArn>';

INSERT example

Use the following StackQL query and manifest file to create a new code_signing_config resource, using stack-deploy.

/*+ create */
INSERT INTO aws.lambda.code_signing_configs (
AllowedPublishers,
region
)
SELECT
'{{ AllowedPublishers }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.lambda.code_signing_configs
WHERE data__Identifier = '<CodeSigningConfigArn>'
AND region = 'us-east-1';

Permissions

To operate on the code_signing_configs resource, the following permissions are required:

Create

lambda:CreateCodeSigningConfig,
lambda:TagResource

Read

lambda:GetCodeSigningConfig,
lambda:ListTags

Update

lambda:UpdateCodeSigningConfig,
lambda:ListTags,
lambda:TagResource,
lambda:UntagResource

Delete

lambda:DeleteCodeSigningConfig

List

lambda:ListCodeSigningConfigs