Skip to content
v2.273.0

CfnCodeSigningConfigProps Struct ​

Properties for defining a CfnCodeSigningConfig.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const cfnCodeSigningConfigProps: lambda.CfnCodeSigningConfigProps = {
  allowedPublishers: {
    signingProfileVersionArns: ['signingProfileVersionArns'],
  },

  // the properties below are optional
  codeSigningPolicies: {
    untrustedArtifactOnDeployment: 'untrustedArtifactOnDeployment',
  },
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

allowedPublishersIResolvable | CfnCodeSigningConfig.AllowedPublishersPropertyallowed_publisherstyping.Union[IResolvable, AllowedPublishersProperty]allowedPublishersIResolvableAllowedPublishersIResolvableAllowedPublishersinterface{}required#
List of allowed publishers.
codeSigningPoliciesIResolvable | CfnCodeSigningConfig.CodeSigningPoliciesPropertycode_signing_policiestyping.Union[IResolvable, CodeSigningPoliciesProperty]codeSigningPoliciesIResolvableCodeSigningPoliciesIResolvableCodeSigningPoliciesinterface{}#
The code signing policy controls the validation failure action for signature mismatch or expiry.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
Code signing configuration description.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A list of tags to add to the code signing configuration.
notes

You must have the lambda:TagResource , lambda:UntagResource , and lambda:ListTags permissions for your IAM principal to manage the CloudFormation stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.

Used as props by ​