aws-cdk-lib.aws_sam.CfnFunction.S3LocationProperty

interface S3LocationProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnFunction.S3LocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_S3LocationProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.S3LocationProperty
Pythonaws_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

NameTypeDescription
bucketstringCfnFunction.S3LocationProperty.Bucket.
keystringCfnFunction.S3LocationProperty.Key.
version?numberCfnFunction.S3LocationProperty.Version.

bucket

Type: string

CfnFunction.S3LocationProperty.Bucket.


key

Type: string

CfnFunction.S3LocationProperty.Key.


version?

Type: number (optional)

CfnFunction.S3LocationProperty.Version.