Skip to content
v2.273.0

CodeProperty Struct ​

Object represents source code from zip file.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const codeProperty: bedrockagentcore.CfnRuntime.CodeProperty = {
  s3: {
    bucket: 'bucket',
    prefix: 'prefix',

    // the properties below are optional
    versionId: 'versionId',
  },
};

Properties ​

S3 Location Configuration.