aws-cdk-lib.aws_sam.CfnHttpApi.S3LocationProperty

interface S3LocationProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnHttpApi.S3LocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnHttpApi_S3LocationProperty
Javasoftware.amazon.awscdk.services.sam.CfnHttpApi.S3LocationProperty
Pythonaws_cdk.aws_sam.CfnHttpApi.S3LocationProperty
TypeScript aws-cdk-lib » aws_sam » CfnHttpApi » 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.CfnHttpApi.S3LocationProperty = {
  bucket: 'bucket',
  key: 'key',
  version: 123,
};

Properties

NameTypeDescription
bucketstringCfnHttpApi.S3LocationProperty.Bucket.
keystringCfnHttpApi.S3LocationProperty.Key.
versionnumberCfnHttpApi.S3LocationProperty.Version.

bucket

Type: string

CfnHttpApi.S3LocationProperty.Bucket.


key

Type: string

CfnHttpApi.S3LocationProperty.Key.


version

Type: number

CfnHttpApi.S3LocationProperty.Version.