Skip to content
v2.275.0

CodeConfigurationProperty Struct ​

Representation of a code configuration.

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 codeConfigurationProperty: bedrockagentcore.CfnRuntime.CodeConfigurationProperty = {
  code: {
    s3: {
      bucket: 'bucket',
      prefix: 'prefix',

      // the properties below are optional
      versionId: 'versionId',
    },
  },
  entryPoint: ['entryPoint'],
  runtime: 'runtime',
};

Properties ​

codeIResolvable | CfnRuntime.CodePropertycodetyping.Union[IResolvable, CodeProperty]codeIResolvableCodeIResolvableCodeinterface{}required#
Object represents source code from zip file.
entryPointstring[]entry_pointtyping.List[str]entryPointList<String>EntryPointstring[]EntryPoint*[]*stringrequired#
List of entry points.
runtimestringruntimestrruntimeStringRuntimestringRuntime*stringrequired#
Managed runtime types.