CfnCodeSigningConfigProps

class aws_cdk.aws_lambda.CfnCodeSigningConfigProps(*, allowed_publishers, code_signing_policies=None, description=None)

Bases: object

Properties for defining a CfnCodeSigningConfig.

Parameters
  • allowed_publishers (Union[IResolvable, AllowedPublishersProperty, Dict[str, Any]]) – List of allowed publishers.

  • code_signing_policies (Union[IResolvable, CodeSigningPoliciesProperty, Dict[str, Any], None]) – The code signing policy controls the validation failure action for signature mismatch or expiry.

  • description (Optional[str]) – Code signing configuration description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_lambda as lambda_

cfn_code_signing_config_props = lambda.CfnCodeSigningConfigProps(
    allowed_publishers=lambda.CfnCodeSigningConfig.AllowedPublishersProperty(
        signing_profile_version_arns=["signingProfileVersionArns"]
    ),

    # the properties below are optional
    code_signing_policies=lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty(
        untrusted_artifact_on_deployment="untrustedArtifactOnDeployment"
    ),
    description="description"
)

Attributes

allowed_publishers

List of allowed publishers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-allowedpublishers

Return type

Union[IResolvable, AllowedPublishersProperty]

code_signing_policies

The code signing policy controls the validation failure action for signature mismatch or expiry.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-codesigningpolicies

Return type

Union[IResolvable, CodeSigningPoliciesProperty, None]

description

Code signing configuration description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-description

Return type

Optional[str]