Skip to content
v2.275.0

CodeProperty Struct ​

The location of code artifacts in Amazon S3 for the workflow.

Modeled as a single-member container so it stays extensible to future artifact types (e.g. OCI images).

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mwaaserverless as mwaaserverless } from 'aws-cdk-lib';
const codeProperty: mwaaserverless.CfnWorkflow.CodeProperty = {
  s3Location: {
    bucket: 'bucket',
    objectKey: 'objectKey',

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

Properties ​

s3LocationoptionalIResolvable | CfnWorkflow.CodeS3LocationPropertys3_locationoptionaltyping.Union[IResolvable, CodeS3LocationProperty]s3LocationoptionalIResolvableS3LocationoptionalIResolvableS3Locationoptionalinterface{}#