interface CfnCodeSigningConfigProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnCodeSigningConfigProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnCodeSigningConfigProps |
Java | software.amazon.awscdk.services.lambda.CfnCodeSigningConfigProps |
Python | aws_cdk.aws_lambda.CfnCodeSigningConfigProps |
TypeScript | aws-cdk-lib » aws_lambda » CfnCodeSigningConfigProps |
Properties for defining a CfnCodeSigningConfig
.
Example
// 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
Name | Type | Description |
---|---|---|
allowed | IResolvable | Allowed | List of allowed publishers. |
code | IResolvable | Code | The code signing policy controls the validation failure action for signature mismatch or expiry. |
description? | string | Code signing configuration description. |
tags? | Cfn [] | A list of tags to add to the code signing configuration. |
allowedPublishers
Type:
IResolvable
|
Allowed
List of allowed publishers.
codeSigningPolicies?
Type:
IResolvable
|
Code
(optional)
The code signing policy controls the validation failure action for signature mismatch or expiry.
description?
Type:
string
(optional)
Code signing configuration description.
tags?
Type:
Cfn
[]
(optional)
A list of tags to add to the code signing configuration.
You must have the
lambda:TagResource
,lambda:UntagResource
, andlambda:ListTags
permissions for your IAM principal to manage the AWS 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.