interface CfnWebFunctionRevisionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionRevisionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionRevisionProps |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionRevisionProps |
Python | aws_cdk.aws_lambda.CfnWebFunctionRevisionProps |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionRevisionProps |
Properties for defining a CfnWebFunctionRevision.
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 cfnWebFunctionRevisionProps: lambda.CfnWebFunctionRevisionProps = {
buildConfig: {
codeConfig: {
s3Object: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
versionId: 'versionId',
},
},
runtimeConfig: {
runtime: 'runtime',
},
},
functionName: 'functionName',
serviceConfig: {
executionRoleArn: 'executionRoleArn',
// the properties below are optional
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
maxConcurrencyPerEnvironment: 123,
telemetryConfig: {
loggingConfig: {
applicationLogLevel: 'applicationLogLevel',
logGroup: 'logGroup',
systemLogLevel: 'systemLogLevel',
},
},
timeoutSeconds: 123,
},
// the properties below are optional
description: 'description',
kmsKeyArn: 'kmsKeyArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| build | IResolvable | Build | The build configuration for the revision. |
| function | string | The name of the web function this revision belongs to. |
| service | IResolvable | Service | The service configuration for the revision. |
| description? | string | A description of the revision. |
| kms | string | The ARN of the KMS key used to encrypt the revision. |
buildConfig
Type:
IResolvable | Build
The build configuration for the revision.
functionName
Type:
string
The name of the web function this revision belongs to.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
serviceConfig
Type:
IResolvable | Service
The service configuration for the revision.
description?
Type:
string
(optional)
A description of the revision.
kmsKeyArn?
Type:
string
(optional)
The ARN of the KMS key used to encrypt the revision.

.NET
Go
Java
Python
TypeScript