# SigningProfileProps

Construction properties for a Signing Profile object.

Extends: SigningProfileProps
Used as props by: SigningProfile

- Source: [`aws-signer/lib/signing-profile.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-signer/lib/signing-profile.ts#L102)

## Example

```ts
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_LATEST,
  handler: 'index.handler',
  code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
});
```

## Properties

- `platform`: [Platform](/cdk/api/v2/docs/aws-cdk-lib.aws_signer.Platform.html) (required) — The Signing Platform available for signing profile.

- `signatureValidity`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The validity period for signatures generated using this signing profile.

  **Default:** 135 months

- `signingProfileName`: string — Physical name of this Signing Profile.

  **Default:** Assigned by CloudFormation (recommended).
