interface S3LocationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.S3LocationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_S3LocationProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.S3LocationProperty |
Python | aws_cdk.aws_sam.CfnFunction.S3LocationProperty |
TypeScript | aws-cdk-lib » aws_sam » CfnFunction » S3LocationProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const s3LocationProperty: sam.CfnFunction.S3LocationProperty = {
bucket: 'bucket',
key: 'key',
// the properties below are optional
version: 123,
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | |
key | string | |
version? | number |
bucket
Type:
string
key
Type:
string
version?
Type:
number
(optional)