Skip to content
v2.273.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 ​

artifactNamestringartifact_namestrartifactNameStringArtifactNamestringArtifactName*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.
computeTypestringcompute_typestrcomputeTypeStringComputeTypestringComputeType*string#
The compute type for the CodeBuild build environment.
imagestringimagestrimageStringImagestringImage*stringrequired#
The CodeBuild image used for the build environment.
timeoutInMinutesnumbertimeout_in_minutesint | floattimeoutInMinutesNumberTimeoutInMinutesdoubleTimeoutInMinutes*float64#
The timeout for the CodeBuild build, in minutes.