aws-cdk-lib.aws_signer.SigningProfileProps

interface SigningProfileProps

LanguageType name
.NETAmazon.CDK.AWS.Signer.SigningProfileProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssigner#SigningProfileProps
Javasoftware.amazon.awscdk.services.signer.SigningProfileProps
Pythonaws_cdk.aws_signer.SigningProfileProps
TypeScript (source)aws-cdk-lib » aws_signer » SigningProfileProps

Construction properties for a Signing Profile object.

Example

import * as signer from 'aws-cdk-lib/aws-signer';

const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
  platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
});

const codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {
  signingProfiles: [signingProfile],
});

new lambda.Function(this, 'Function', {
  codeSigningConfig,
  runtime: lambda.Runtime.NODEJS_18_X,
  handler: 'index.handler',
  code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
});

Properties

NameTypeDescription
platformPlatformThe Signing Platform available for signing profile.
signatureValidity?DurationThe validity period for signatures generated using this signing profile.
signingProfileName?stringPhysical name of this Signing Profile.

platform

Type: Platform

The Signing Platform available for signing profile.

See also: https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html


signatureValidity?

Type: Duration (optional, default: 135 months)

The validity period for signatures generated using this signing profile.


signingProfileName?

Type: string (optional, default: Assigned by CloudFormation (recommended).)

Physical name of this Signing Profile.