ImageBuildConfigurationProperty 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 imageBuildConfigurationProperty: elasticbeanstalk.CfnApplicationVersion.ImageBuildConfigurationProperty = {
codeBuildServiceRole: 'codeBuildServiceRole',
type: 'type',
// the properties below are optional
architecture: 'architecture',
buildpack: 'buildpack',
computeType: 'computeType',
dockerfileLocation: 'dockerfileLocation',
timeoutInMinutes: 123,
};
Properties
The target architecture for the built container image.
The buildpack to use for building the image.
codeBuildServiceRolestringcode_build_service_rolestrcodeBuildServiceRoleStringCodeBuildServiceRolestringCodeBuildServiceRole*stringrequired#The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
The compute type for the CodeBuild build environment.
dockerfileLocationstringdockerfile_locationstrdockerfileLocationStringDockerfileLocationstringDockerfileLocation*string#The path to the Dockerfile, relative to the source root.
timeoutInMinutesnumbertimeout_in_minutesint | floattimeoutInMinutesNumberTimeoutInMinutesdoubleTimeoutInMinutes*float64#The timeout for the CodeBuild build, in minutes.
The type of image build: docker or buildpack.