Skip to content

BuildConfiguration

Source code in docs_src/capo_elastic_beanstalk/types/build_configuration.py
class BuildConfiguration(TypedDict, closed=True):
    artifact_name: NotRequired["capo_elastic_beanstalk.types.string.String"]
    """<p>The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location <i>S3-bucket</i>/resources/<i>application-name</i>/codebuild/codebuild-<i>version-label</i>-<i>artifact-name</i>.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location <i>S3-bucket</i>/resources/<i>application-name</i>/codebuild/codebuild-<i>version-label</i>.zip. </p>"""
    code_build_service_role: (
        "capo_elastic_beanstalk.types.non_empty_string.NonEmptyString"
    )
    """<p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that enables CodeBuild to interact with dependent Amazon Web Services service on behalf of the Amazon Web Services account.</p>"""
    compute_type: NotRequired["capo_elastic_beanstalk.types.compute_type.ComputeType"]
    """<p>Information about the compute resources the build project will use.</p> <ul> <li> <p> <code>BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds</code> </p> </li> <li> <p> <code>BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds</code> </p> </li> <li> <p> <code>BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds</code> </p> </li> </ul>"""
    image: "capo_elastic_beanstalk.types.non_empty_string.NonEmptyString"
    """<p>The ID of the Docker image to use for this build project.</p>"""
    timeout_in_minutes: NotRequired["capo_elastic_beanstalk.types.boxed_int.BoxedInt"]
    """<p>How long in minutes, from 5 to 480 (8 hours), for CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.</p>"""

artifact_name instance-attribute

artifact_name: NotRequired[String]

The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.

code_build_service_role instance-attribute

code_build_service_role: NonEmptyString

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that enables CodeBuild to interact with dependent Amazon Web Services service on behalf of the Amazon Web Services account.

compute_type instance-attribute

compute_type: NotRequired[ComputeType]

Information about the compute resources the build project will use.

  • BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds

  • BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds

  • BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds

image instance-attribute

The ID of the Docker image to use for this build project.

timeout_in_minutes instance-attribute

timeout_in_minutes: NotRequired[BoxedInt]

How long in minutes, from 5 to 480 (8 hours), for CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.