BatchBuildConfig

class aws_cdk.aws_codebuild.BatchBuildConfig(*, role)

Bases: object

The type returned from {@link IProject#enableBatchBuilds}.

Parameters

role (IRole) – The IAM batch service Role of this Project.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codebuild as codebuild
import aws_cdk.aws_iam as iam

# role: iam.Role

batch_build_config = codebuild.BatchBuildConfig(
    role=role
)

Attributes

role

The IAM batch service Role of this Project.

Return type

IRole