interface S3ObjectProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionRevision.S3ObjectProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionRevision_S3ObjectProperty |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionRevision.S3ObjectProperty |
Python | aws_cdk.aws_lambda.CfnWebFunctionRevision.S3ObjectProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionRevision » S3ObjectProperty |
The S3 location of the function code.
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 s3ObjectProperty: lambda.CfnWebFunctionRevision.S3ObjectProperty = {
bucket: 'bucket',
key: 'key',
// the properties below are optional
versionId: 'versionId',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | The S3 bucket name. |
| key | string | The S3 object key. |
| version | string | The S3 object version ID. |
bucket
Type:
string
The S3 bucket name.
key
Type:
string
The S3 object key.
versionId?
Type:
string
(optional)
The S3 object version ID.

.NET
Go
Java
Python
TypeScript