BuildSpec

class aws_cdk.aws_codebuild.BuildSpec

Bases: object

BuildSpec for CodeBuild projects.

Methods

abstract to_build_spec()

Render the represented BuildSpec.

Return type

str

Attributes

is_immediate

Whether the buildspec is directly available or deferred until build-time.

Return type

bool

Static Methods

classmethod from_object(value)
Parameters

value (Mapping[str, Any]) –

Return type

BuildSpec

classmethod from_source_filename(filename)

Use a file from the source as buildspec.

Use this if you want to use a file different from ‘buildspec.yml’`

Parameters

filename (str) –

Return type

BuildSpec