interface ImageBuildConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticBeanstalk.CfnApplicationVersion.ImageBuildConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticbeanstalk#CfnApplicationVersion_ImageBuildConfigurationProperty |
Java | software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersion.ImageBuildConfigurationProperty |
Python | aws_cdk.aws_elasticbeanstalk.CfnApplicationVersion.ImageBuildConfigurationProperty |
TypeScript | aws-cdk-lib » aws_elasticbeanstalk » CfnApplicationVersion » ImageBuildConfigurationProperty |
Example
// 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
| Name | Type | Description |
|---|---|---|
| code | string | The ARN of the IAM role that AWS CodeBuild assumes to build the application version. |
| type | string | The type of image build: docker or buildpack. |
| architecture? | string | The target architecture for the built container image. |
| buildpack? | string | The buildpack to use for building the image. |
| compute | string | The compute type for the CodeBuild build environment. |
| dockerfile | string | The path to the Dockerfile, relative to the source root. |
| timeout | number | The timeout for the CodeBuild build, in minutes. |
codeBuildServiceRole
Type:
string
The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
type
Type:
string
The type of image build: docker or buildpack.
architecture?
Type:
string
(optional)
The target architecture for the built container image.
buildpack?
Type:
string
(optional)
The buildpack to use for building the image.
computeType?
Type:
string
(optional)
The compute type for the CodeBuild build environment.
dockerfileLocation?
Type:
string
(optional)
The path to the Dockerfile, relative to the source root.
timeoutInMinutes?
Type:
number
(optional)
The timeout for the CodeBuild build, in minutes.

.NET
Go
Java
Python
TypeScript