aws-cdk-lib.aws_sam.CfnLayerVersion.S3LocationProperty

interface S3LocationProperty

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

  // the properties below are optional
  version: 123,
};

Properties

NameTypeDescription
bucketstringCfnLayerVersion.S3LocationProperty.Bucket.
keystringCfnLayerVersion.S3LocationProperty.Key.
version?numberCfnLayerVersion.S3LocationProperty.Version.

bucket

Type: string

CfnLayerVersion.S3LocationProperty.Bucket.


key

Type: string

CfnLayerVersion.S3LocationProperty.Key.


version?

Type: number (optional)

CfnLayerVersion.S3LocationProperty.Version.