Skip to content
v2.274.0

BuildConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticbeanstalk as elasticbeanstalk } from 'aws-cdk-lib';
const buildConfigurationProperty: elasticbeanstalk.CfnApplicationVersion.BuildConfigurationProperty = {
  codeBuildServiceRole: 'codeBuildServiceRole',
  image: 'image',

  // the properties below are optional
  artifactName: 'artifactName',
  computeType: 'computeType',
  timeoutInMinutes: 123,
};

Properties ​

artifactNameoptionalstringartifact_nameoptionalstrartifactNameoptionalStringArtifactNameoptionalstringArtifactNameoptional*string#
The name of the build artifact.
codeBuildServiceRolestringcode_build_service_rolestrcodeBuildServiceRoleStringCodeBuildServiceRolestringCodeBuildServiceRole*stringrequired#
The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
computeTypeoptionalstringcompute_typeoptionalstrcomputeTypeoptionalStringComputeTypeoptionalstringComputeTypeoptional*string#
The compute type for the CodeBuild build environment.
imagestringimagestrimageStringImagestringImage*stringrequired#
The CodeBuild image used for the build environment.
timeoutInMinutesoptionalnumbertimeout_in_minutesoptionalint | floattimeoutInMinutesoptionalNumberTimeoutInMinutesoptionaldoubleTimeoutInMinutesoptional*float64#
The timeout for the CodeBuild build, in minutes.