ProjectEvents

class aws_cdk.mixins_preview.aws_codebuild.events.ProjectEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Project.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events
from aws_cdk.interfaces import aws_codebuild as interfaces_codebuild

# project_ref: interfaces_codebuild.IProjectRef

project_events = codebuild_events.ProjectEvents.from_project(project_ref)

Methods

code_build_build_phase_change_pattern(*, additional_information=None, build_id=None, completed_phase=None, completed_phase_context=None, completed_phase_duration_seconds=None, completed_phase_end=None, completed_phase_start=None, completed_phase_status=None, event_metadata=None, project_name=None, version=None)

(experimental) EventBridge event pattern for Project CodeBuild Build Phase Change.

Parameters:
  • additional_information (Union[AdditionalInformation, Dict[str, Any], None]) – (experimental) additional-information property. Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_id (Optional[Sequence[str]]) – (experimental) build-id property. Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase (Optional[Sequence[str]]) – (experimental) completed-phase property. Specify an array of string values to match this event if the actual value of completed-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_context (Optional[Sequence[str]]) – (experimental) completed-phase-context property. Specify an array of string values to match this event if the actual value of completed-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_duration_seconds (Optional[Sequence[str]]) – (experimental) completed-phase-duration-seconds property. Specify an array of string values to match this event if the actual value of completed-phase-duration-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_end (Optional[Sequence[str]]) – (experimental) completed-phase-end property. Specify an array of string values to match this event if the actual value of completed-phase-end is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_start (Optional[Sequence[str]]) – (experimental) completed-phase-start property. Specify an array of string values to match this event if the actual value of completed-phase-start is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_status (Optional[Sequence[str]]) – (experimental) completed-phase-status property. Specify an array of string values to match this event if the actual value of completed-phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • project_name (Optional[Sequence[str]]) – (experimental) project-name property. Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Project reference

  • version (Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

code_build_build_state_change_pattern(*, additional_information=None, build_id=None, build_status=None, current_phase=None, current_phase_context=None, event_metadata=None, project_name=None, version=None)

(experimental) EventBridge event pattern for Project CodeBuild Build State Change.

Parameters:
  • additional_information (Union[AdditionalInformation, Dict[str, Any], None]) – (experimental) additional-information property. Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_id (Optional[Sequence[str]]) – (experimental) build-id property. Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_status (Optional[Sequence[str]]) – (experimental) build-status property. Specify an array of string values to match this event if the actual value of build-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • current_phase (Optional[Sequence[str]]) – (experimental) current-phase property. Specify an array of string values to match this event if the actual value of current-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • current_phase_context (Optional[Sequence[str]]) – (experimental) current-phase-context property. Specify an array of string values to match this event if the actual value of current-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • project_name (Optional[Sequence[str]]) – (experimental) project-name property. Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Project reference

  • version (Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_project(project_ref)

(experimental) Create ProjectEvents from a Project reference.

Parameters:

project_ref (IProjectRef)

Stability:

experimental

Return type:

ProjectEvents

CodeBuildBuildPhaseChange

class ProjectEvents.CodeBuildBuildPhaseChange

Bases: object

(experimental) aws.codebuild@CodeBuildBuildPhaseChange event types for Project.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

code_build_build_phase_change = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange()
Stability:

experimental

AdditionalInformation

class ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformation(*, artifact=None, build_complete=None, build_start_time=None, cache=None, environment=None, initiator=None, logs=None, network_interface=None, phases=None, queued_timeout_in_minutes=None, source=None, source_version=None, timeout_in_minutes=None, vpc_config=None)

Bases: object

(experimental) Type definition for Additional-information.

Parameters:
  • artifact (Union[Artifact, Dict[str, Any], None]) – (experimental) artifact property. Specify an array of string values to match this event if the actual value of artifact is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_complete (Optional[Sequence[str]]) – (experimental) build-complete property. Specify an array of string values to match this event if the actual value of build-complete is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_start_time (Optional[Sequence[str]]) – (experimental) build-start-time property. Specify an array of string values to match this event if the actual value of build-start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cache (Union[Cache, Dict[str, Any], None]) – (experimental) cache property. Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • environment (Union[Environment, Dict[str, Any], None]) – (experimental) environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initiator (Optional[Sequence[str]]) – (experimental) initiator property. Specify an array of string values to match this event if the actual value of initiator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • logs (Union[Logs, Dict[str, Any], None]) – (experimental) logs property. Specify an array of string values to match this event if the actual value of logs is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_interface (Union[NetworkInterface, Dict[str, Any], None]) – (experimental) network-interface property. Specify an array of string values to match this event if the actual value of network-interface is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phases (Optional[Sequence[Union[AdditionalInformationItem, Dict[str, Any]]]]) – (experimental) phases property. Specify an array of string values to match this event if the actual value of phases is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • queued_timeout_in_minutes (Optional[Sequence[str]]) – (experimental) queued-timeout-in-minutes property. Specify an array of string values to match this event if the actual value of queued-timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source (Union[Source, Dict[str, Any], None]) – (experimental) source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_version (Optional[Sequence[str]]) – (experimental) source-version property. Specify an array of string values to match this event if the actual value of source-version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • timeout_in_minutes (Optional[Sequence[str]]) – (experimental) timeout-in-minutes property. Specify an array of string values to match this event if the actual value of timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • vpc_config (Union[VpcConfig, Dict[str, Any], None]) – (experimental) vpc-config property. Specify an array of string values to match this event if the actual value of vpc-config is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

additional_information = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformation(
    artifact=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Artifact(
        location=["location"],
        md5_sum=["md5Sum"],
        sha256_sum=["sha256Sum"]
    ),
    build_complete=["buildComplete"],
    build_start_time=["buildStartTime"],
    cache=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Cache(
        location=["location"],
        type=["type"]
    ),
    environment=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Environment(
        compute_type=["computeType"],
        environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.EnvironmentItem(
            name=["name"],
            type=["type"],
            value=["value"]
        )],
        image=["image"],
        image_pull_credentials_type=["imagePullCredentialsType"],
        privileged_mode=["privilegedMode"],
        type=["type"]
    ),
    initiator=["initiator"],
    logs=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Logs(
        deep_link=["deepLink"],
        group_name=["groupName"],
        stream_name=["streamName"]
    ),
    network_interface=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.NetworkInterface(
        eni_id=["eniId"],
        subnet_id=["subnetId"]
    ),
    phases=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem(
        duration_in_seconds=["durationInSeconds"],
        end_time=["endTime"],
        phase_context=["phaseContext"],
        phase_status=["phaseStatus"],
        phase_type=["phaseType"],
        start_time=["startTime"]
    )],
    queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
    source=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Source(
        auth=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Auth(
            type=["type"]
        ),
        buildspec=["buildspec"],
        location=["location"],
        type=["type"]
    ),
    source_version=["sourceVersion"],
    timeout_in_minutes=["timeoutInMinutes"],
    vpc_config=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfig(
        security_group_ids=["securityGroupIds"],
        subnets=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfigItem(
            build_fleet_az=["buildFleetAz"],
            customer_az=["customerAz"],
            subnet_id=["subnetId"]
        )],
        vpc_id=["vpcId"]
    )
)

Attributes

artifact

(experimental) artifact property.

Specify an array of string values to match this event if the actual value of artifact is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_complete

(experimental) build-complete property.

Specify an array of string values to match this event if the actual value of build-complete is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_start_time

(experimental) build-start-time property.

Specify an array of string values to match this event if the actual value of build-start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cache

(experimental) cache property.

Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

environment

(experimental) environment property.

Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

initiator

(experimental) initiator property.

Specify an array of string values to match this event if the actual value of initiator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

logs

(experimental) logs property.

Specify an array of string values to match this event if the actual value of logs is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_interface

(experimental) network-interface property.

Specify an array of string values to match this event if the actual value of network-interface is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phases

(experimental) phases property.

Specify an array of string values to match this event if the actual value of phases is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

queued_timeout_in_minutes

(experimental) queued-timeout-in-minutes property.

Specify an array of string values to match this event if the actual value of queued-timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source

(experimental) source property.

Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source_version

(experimental) source-version property.

Specify an array of string values to match this event if the actual value of source-version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

timeout_in_minutes

(experimental) timeout-in-minutes property.

Specify an array of string values to match this event if the actual value of timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

vpc_config

(experimental) vpc-config property.

Specify an array of string values to match this event if the actual value of vpc-config is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AdditionalInformationItem

class ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem(*, duration_in_seconds=None, end_time=None, phase_context=None, phase_status=None, phase_type=None, start_time=None)

Bases: object

(experimental) Type definition for Additional-informationItem.

Parameters:
  • duration_in_seconds (Optional[Sequence[str]]) – (experimental) duration-in-seconds property. Specify an array of string values to match this event if the actual value of duration-in-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • end_time (Optional[Sequence[str]]) – (experimental) end-time property. Specify an array of string values to match this event if the actual value of end-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_context (Optional[Sequence[str]]) – (experimental) phase-context property. Specify an array of string values to match this event if the actual value of phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_status (Optional[Sequence[str]]) – (experimental) phase-status property. Specify an array of string values to match this event if the actual value of phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_type (Optional[Sequence[str]]) – (experimental) phase-type property. Specify an array of string values to match this event if the actual value of phase-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • start_time (Optional[Sequence[str]]) – (experimental) start-time property. Specify an array of string values to match this event if the actual value of start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

additional_information_item = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem(
    duration_in_seconds=["durationInSeconds"],
    end_time=["endTime"],
    phase_context=["phaseContext"],
    phase_status=["phaseStatus"],
    phase_type=["phaseType"],
    start_time=["startTime"]
)

Attributes

duration_in_seconds

(experimental) duration-in-seconds property.

Specify an array of string values to match this event if the actual value of duration-in-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

end_time

(experimental) end-time property.

Specify an array of string values to match this event if the actual value of end-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_context

(experimental) phase-context property.

Specify an array of string values to match this event if the actual value of phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_status

(experimental) phase-status property.

Specify an array of string values to match this event if the actual value of phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_type

(experimental) phase-type property.

Specify an array of string values to match this event if the actual value of phase-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

start_time

(experimental) start-time property.

Specify an array of string values to match this event if the actual value of start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Artifact

class ProjectEvents.CodeBuildBuildPhaseChange.Artifact(*, location=None, md5_sum=None, sha256_sum=None)

Bases: object

(experimental) Type definition for Artifact.

Parameters:
  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • md5_sum (Optional[Sequence[str]]) – (experimental) md5sum property. Specify an array of string values to match this event if the actual value of md5sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • sha256_sum (Optional[Sequence[str]]) – (experimental) sha256sum property. Specify an array of string values to match this event if the actual value of sha256sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

artifact = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Artifact(
    location=["location"],
    md5_sum=["md5Sum"],
    sha256_sum=["sha256Sum"]
)

Attributes

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

md5_sum

(experimental) md5sum property.

Specify an array of string values to match this event if the actual value of md5sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

sha256_sum

(experimental) sha256sum property.

Specify an array of string values to match this event if the actual value of sha256sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Auth

class ProjectEvents.CodeBuildBuildPhaseChange.Auth(*, type=None)

Bases: object

(experimental) Type definition for Auth.

Parameters:

type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

auth = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Auth(
    type=["type"]
)

Attributes

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Cache

class ProjectEvents.CodeBuildBuildPhaseChange.Cache(*, location=None, type=None)

Bases: object

(experimental) Type definition for Cache.

Parameters:
  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

cache = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Cache(
    location=["location"],
    type=["type"]
)

Attributes

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

CodeBuildBuildPhaseChangeProps

class ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps(*, additional_information=None, build_id=None, completed_phase=None, completed_phase_context=None, completed_phase_duration_seconds=None, completed_phase_end=None, completed_phase_start=None, completed_phase_status=None, event_metadata=None, project_name=None, version=None)

Bases: object

(experimental) Props type for Project aws.codebuild@CodeBuildBuildPhaseChange event.

Parameters:
  • additional_information (Union[AdditionalInformation, Dict[str, Any], None]) – (experimental) additional-information property. Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_id (Optional[Sequence[str]]) – (experimental) build-id property. Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase (Optional[Sequence[str]]) – (experimental) completed-phase property. Specify an array of string values to match this event if the actual value of completed-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_context (Optional[Sequence[str]]) – (experimental) completed-phase-context property. Specify an array of string values to match this event if the actual value of completed-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_duration_seconds (Optional[Sequence[str]]) – (experimental) completed-phase-duration-seconds property. Specify an array of string values to match this event if the actual value of completed-phase-duration-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_end (Optional[Sequence[str]]) – (experimental) completed-phase-end property. Specify an array of string values to match this event if the actual value of completed-phase-end is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_start (Optional[Sequence[str]]) – (experimental) completed-phase-start property. Specify an array of string values to match this event if the actual value of completed-phase-start is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • completed_phase_status (Optional[Sequence[str]]) – (experimental) completed-phase-status property. Specify an array of string values to match this event if the actual value of completed-phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • project_name (Optional[Sequence[str]]) – (experimental) project-name property. Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Project reference

  • version (Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

code_build_build_phase_change_props = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps(
    additional_information=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformation(
        artifact=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Artifact(
            location=["location"],
            md5_sum=["md5Sum"],
            sha256_sum=["sha256Sum"]
        ),
        build_complete=["buildComplete"],
        build_start_time=["buildStartTime"],
        cache=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Cache(
            location=["location"],
            type=["type"]
        ),
        environment=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Environment(
            compute_type=["computeType"],
            environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.EnvironmentItem(
                name=["name"],
                type=["type"],
                value=["value"]
            )],
            image=["image"],
            image_pull_credentials_type=["imagePullCredentialsType"],
            privileged_mode=["privilegedMode"],
            type=["type"]
        ),
        initiator=["initiator"],
        logs=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Logs(
            deep_link=["deepLink"],
            group_name=["groupName"],
            stream_name=["streamName"]
        ),
        network_interface=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.NetworkInterface(
            eni_id=["eniId"],
            subnet_id=["subnetId"]
        ),
        phases=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem(
            duration_in_seconds=["durationInSeconds"],
            end_time=["endTime"],
            phase_context=["phaseContext"],
            phase_status=["phaseStatus"],
            phase_type=["phaseType"],
            start_time=["startTime"]
        )],
        queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
        source=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Source(
            auth=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Auth(
                type=["type"]
            ),
            buildspec=["buildspec"],
            location=["location"],
            type=["type"]
        ),
        source_version=["sourceVersion"],
        timeout_in_minutes=["timeoutInMinutes"],
        vpc_config=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfig(
            security_group_ids=["securityGroupIds"],
            subnets=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfigItem(
                build_fleet_az=["buildFleetAz"],
                customer_az=["customerAz"],
                subnet_id=["subnetId"]
            )],
            vpc_id=["vpcId"]
        )
    ),
    build_id=["buildId"],
    completed_phase=["completedPhase"],
    completed_phase_context=["completedPhaseContext"],
    completed_phase_duration_seconds=["completedPhaseDurationSeconds"],
    completed_phase_end=["completedPhaseEnd"],
    completed_phase_start=["completedPhaseStart"],
    completed_phase_status=["completedPhaseStatus"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    project_name=["projectName"],
    version=["version"]
)

Attributes

additional_information

(experimental) additional-information property.

Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_id

(experimental) build-id property.

Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase

(experimental) completed-phase property.

Specify an array of string values to match this event if the actual value of completed-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase_context

(experimental) completed-phase-context property.

Specify an array of string values to match this event if the actual value of completed-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase_duration_seconds

(experimental) completed-phase-duration-seconds property.

Specify an array of string values to match this event if the actual value of completed-phase-duration-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase_end

(experimental) completed-phase-end property.

Specify an array of string values to match this event if the actual value of completed-phase-end is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase_start

(experimental) completed-phase-start property.

Specify an array of string values to match this event if the actual value of completed-phase-start is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

completed_phase_status

(experimental) completed-phase-status property.

Specify an array of string values to match this event if the actual value of completed-phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

project_name

(experimental) project-name property.

Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Filter with the Project reference

Stability:

experimental

version

(experimental) version property.

Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Environment

class ProjectEvents.CodeBuildBuildPhaseChange.Environment(*, compute_type=None, environment_variables=None, image=None, image_pull_credentials_type=None, privileged_mode=None, type=None)

Bases: object

(experimental) Type definition for Environment.

Parameters:
  • compute_type (Optional[Sequence[str]]) – (experimental) compute-type property. Specify an array of string values to match this event if the actual value of compute-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • environment_variables (Optional[Sequence[Union[EnvironmentItem, Dict[str, Any]]]]) – (experimental) environment-variables property. Specify an array of string values to match this event if the actual value of environment-variables is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image (Optional[Sequence[str]]) – (experimental) image property. Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image_pull_credentials_type (Optional[Sequence[str]]) – (experimental) image-pull-credentials-type property. Specify an array of string values to match this event if the actual value of image-pull-credentials-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • privileged_mode (Optional[Sequence[str]]) – (experimental) privileged-mode property. Specify an array of string values to match this event if the actual value of privileged-mode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

environment = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Environment(
    compute_type=["computeType"],
    environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.EnvironmentItem(
        name=["name"],
        type=["type"],
        value=["value"]
    )],
    image=["image"],
    image_pull_credentials_type=["imagePullCredentialsType"],
    privileged_mode=["privilegedMode"],
    type=["type"]
)

Attributes

compute_type

(experimental) compute-type property.

Specify an array of string values to match this event if the actual value of compute-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

environment_variables

(experimental) environment-variables property.

Specify an array of string values to match this event if the actual value of environment-variables is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image

(experimental) image property.

Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image_pull_credentials_type

(experimental) image-pull-credentials-type property.

Specify an array of string values to match this event if the actual value of image-pull-credentials-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

privileged_mode

(experimental) privileged-mode property.

Specify an array of string values to match this event if the actual value of privileged-mode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

EnvironmentItem

class ProjectEvents.CodeBuildBuildPhaseChange.EnvironmentItem(*, name=None, type=None, value=None)

Bases: object

(experimental) Type definition for EnvironmentItem.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

environment_item = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.EnvironmentItem(
    name=["name"],
    type=["type"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Logs

class ProjectEvents.CodeBuildBuildPhaseChange.Logs(*, deep_link=None, group_name=None, stream_name=None)

Bases: object

(experimental) Type definition for Logs.

Parameters:
  • deep_link (Optional[Sequence[str]]) – (experimental) deep-link property. Specify an array of string values to match this event if the actual value of deep-link is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • group_name (Optional[Sequence[str]]) – (experimental) group-name property. Specify an array of string values to match this event if the actual value of group-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • stream_name (Optional[Sequence[str]]) – (experimental) stream-name property. Specify an array of string values to match this event if the actual value of stream-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

logs = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Logs(
    deep_link=["deepLink"],
    group_name=["groupName"],
    stream_name=["streamName"]
)

Attributes

(experimental) deep-link property.

Specify an array of string values to match this event if the actual value of deep-link is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

group_name

(experimental) group-name property.

Specify an array of string values to match this event if the actual value of group-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stream_name

(experimental) stream-name property.

Specify an array of string values to match this event if the actual value of stream-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterface

class ProjectEvents.CodeBuildBuildPhaseChange.NetworkInterface(*, eni_id=None, subnet_id=None)

Bases: object

(experimental) Type definition for Network-interface.

Parameters:
  • eni_id (Optional[Sequence[str]]) – (experimental) eni-id property. Specify an array of string values to match this event if the actual value of eni-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnet_id (Optional[Sequence[str]]) – (experimental) subnet-id property. Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

network_interface = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.NetworkInterface(
    eni_id=["eniId"],
    subnet_id=["subnetId"]
)

Attributes

eni_id

(experimental) eni-id property.

Specify an array of string values to match this event if the actual value of eni-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnet-id property.

Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Source

class ProjectEvents.CodeBuildBuildPhaseChange.Source(*, auth=None, buildspec=None, location=None, type=None)

Bases: object

(experimental) Type definition for Source.

Parameters:
  • auth (Union[Auth, Dict[str, Any], None]) – (experimental) auth property. Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • buildspec (Optional[Sequence[str]]) – (experimental) buildspec property. Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

source = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Source(
    auth=codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.Auth(
        type=["type"]
    ),
    buildspec=["buildspec"],
    location=["location"],
    type=["type"]
)

Attributes

auth

(experimental) auth property.

Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

buildspec

(experimental) buildspec property.

Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

VpcConfig

class ProjectEvents.CodeBuildBuildPhaseChange.VpcConfig(*, security_group_ids=None, subnets=None, vpc_id=None)

Bases: object

(experimental) Type definition for Vpc-config.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – (experimental) security-group-ids property. Specify an array of string values to match this event if the actual value of security-group-ids is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnets (Optional[Sequence[Union[VpcConfigItem, Dict[str, Any]]]]) – (experimental) subnets property. Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • vpc_id (Optional[Sequence[str]]) – (experimental) vpc-id property. Specify an array of string values to match this event if the actual value of vpc-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

vpc_config = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfig(
    security_group_ids=["securityGroupIds"],
    subnets=[codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfigItem(
        build_fleet_az=["buildFleetAz"],
        customer_az=["customerAz"],
        subnet_id=["subnetId"]
    )],
    vpc_id=["vpcId"]
)

Attributes

security_group_ids

(experimental) security-group-ids property.

Specify an array of string values to match this event if the actual value of security-group-ids is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnets

(experimental) subnets property.

Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpc-id property.

Specify an array of string values to match this event if the actual value of vpc-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

VpcConfigItem

class ProjectEvents.CodeBuildBuildPhaseChange.VpcConfigItem(*, build_fleet_az=None, customer_az=None, subnet_id=None)

Bases: object

(experimental) Type definition for Vpc-configItem.

Parameters:
  • build_fleet_az (Optional[Sequence[str]]) – (experimental) build-fleet-az property. Specify an array of string values to match this event if the actual value of build-fleet-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • customer_az (Optional[Sequence[str]]) – (experimental) customer-az property. Specify an array of string values to match this event if the actual value of customer-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnet_id (Optional[Sequence[str]]) – (experimental) subnet-id property. Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

vpc_config_item = codebuild_events.ProjectEvents.CodeBuildBuildPhaseChange.VpcConfigItem(
    build_fleet_az=["buildFleetAz"],
    customer_az=["customerAz"],
    subnet_id=["subnetId"]
)

Attributes

build_fleet_az

(experimental) build-fleet-az property.

Specify an array of string values to match this event if the actual value of build-fleet-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

customer_az

(experimental) customer-az property.

Specify an array of string values to match this event if the actual value of customer-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnet-id property.

Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

CodeBuildBuildStateChange

class ProjectEvents.CodeBuildBuildStateChange

Bases: object

(experimental) aws.codebuild@CodeBuildBuildStateChange event types for Project.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

code_build_build_state_change = codebuild_events.ProjectEvents.CodeBuildBuildStateChange()
Stability:

experimental

AdditionalInformation

class ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation(*, artifact=None, build_complete=None, build_start_time=None, cache=None, environment=None, initiator=None, logs=None, network_interface=None, phases=None, queued_timeout_in_minutes=None, source=None, source_version=None, timeout_in_minutes=None, vpc_config=None)

Bases: object

(experimental) Type definition for Additional-information.

Parameters:
  • artifact (Union[Artifact, Dict[str, Any], None]) – (experimental) artifact property. Specify an array of string values to match this event if the actual value of artifact is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_complete (Optional[Sequence[str]]) – (experimental) build-complete property. Specify an array of string values to match this event if the actual value of build-complete is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_start_time (Optional[Sequence[str]]) – (experimental) build-start-time property. Specify an array of string values to match this event if the actual value of build-start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • cache (Union[Cache, Dict[str, Any], None]) – (experimental) cache property. Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • environment (Union[Environment, Dict[str, Any], None]) – (experimental) environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initiator (Optional[Sequence[str]]) – (experimental) initiator property. Specify an array of string values to match this event if the actual value of initiator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • logs (Union[Logs, Dict[str, Any], None]) – (experimental) logs property. Specify an array of string values to match this event if the actual value of logs is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • network_interface (Union[NetworkInterface, Dict[str, Any], None]) – (experimental) network-interface property. Specify an array of string values to match this event if the actual value of network-interface is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phases (Optional[Sequence[Union[AdditionalInformationItem, Dict[str, Any]]]]) – (experimental) phases property. Specify an array of string values to match this event if the actual value of phases is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • queued_timeout_in_minutes (Optional[Sequence[str]]) – (experimental) queued-timeout-in-minutes property. Specify an array of string values to match this event if the actual value of queued-timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source (Union[Source, Dict[str, Any], None]) – (experimental) source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_version (Optional[Sequence[str]]) – (experimental) source-version property. Specify an array of string values to match this event if the actual value of source-version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • timeout_in_minutes (Optional[Sequence[str]]) – (experimental) timeout-in-minutes property. Specify an array of string values to match this event if the actual value of timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • vpc_config (Union[VpcConfig, Dict[str, Any], None]) – (experimental) vpc-config property. Specify an array of string values to match this event if the actual value of vpc-config is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

additional_information = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation(
    artifact=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Artifact(
        location=["location"],
        md5_sum=["md5Sum"],
        sha256_sum=["sha256Sum"]
    ),
    build_complete=["buildComplete"],
    build_start_time=["buildStartTime"],
    cache=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Cache(
        location=["location"],
        type=["type"]
    ),
    environment=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Environment(
        compute_type=["computeType"],
        environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.EnvironmentItem(
            name=["name"],
            type=["type"],
            value=["value"]
        )],
        image=["image"],
        image_pull_credentials_type=["imagePullCredentialsType"],
        privileged_mode=["privilegedMode"],
        type=["type"]
    ),
    initiator=["initiator"],
    logs=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Logs(
        deep_link=["deepLink"],
        group_name=["groupName"],
        stream_name=["streamName"]
    ),
    network_interface=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.NetworkInterface(
        eni_id=["eniId"],
        subnet_id=["subnetId"]
    ),
    phases=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.AdditionalInformationItem(
        duration_in_seconds=["durationInSeconds"],
        end_time=["endTime"],
        phase_context=["phaseContext"],
        phase_status=["phaseStatus"],
        phase_type=["phaseType"],
        start_time=["startTime"]
    )],
    queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
    source=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Source(
        auth=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Auth(
            resource=["resource"],
            type=["type"]
        ),
        buildspec=["buildspec"],
        location=["location"],
        type=["type"]
    ),
    source_version=["sourceVersion"],
    timeout_in_minutes=["timeoutInMinutes"],
    vpc_config=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfig(
        security_group_ids=["securityGroupIds"],
        subnets=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfigItem(
            build_fleet_az=["buildFleetAz"],
            customer_az=["customerAz"],
            subnet_id=["subnetId"]
        )],
        vpc_id=["vpcId"]
    )
)

Attributes

artifact

(experimental) artifact property.

Specify an array of string values to match this event if the actual value of artifact is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_complete

(experimental) build-complete property.

Specify an array of string values to match this event if the actual value of build-complete is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_start_time

(experimental) build-start-time property.

Specify an array of string values to match this event if the actual value of build-start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

cache

(experimental) cache property.

Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

environment

(experimental) environment property.

Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

initiator

(experimental) initiator property.

Specify an array of string values to match this event if the actual value of initiator is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

logs

(experimental) logs property.

Specify an array of string values to match this event if the actual value of logs is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

network_interface

(experimental) network-interface property.

Specify an array of string values to match this event if the actual value of network-interface is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phases

(experimental) phases property.

Specify an array of string values to match this event if the actual value of phases is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

queued_timeout_in_minutes

(experimental) queued-timeout-in-minutes property.

Specify an array of string values to match this event if the actual value of queued-timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source

(experimental) source property.

Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source_version

(experimental) source-version property.

Specify an array of string values to match this event if the actual value of source-version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

timeout_in_minutes

(experimental) timeout-in-minutes property.

Specify an array of string values to match this event if the actual value of timeout-in-minutes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

vpc_config

(experimental) vpc-config property.

Specify an array of string values to match this event if the actual value of vpc-config is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AdditionalInformationItem

class ProjectEvents.CodeBuildBuildStateChange.AdditionalInformationItem(*, duration_in_seconds=None, end_time=None, phase_context=None, phase_status=None, phase_type=None, start_time=None)

Bases: object

(experimental) Type definition for Additional-informationItem.

Parameters:
  • duration_in_seconds (Optional[Sequence[str]]) – (experimental) duration-in-seconds property. Specify an array of string values to match this event if the actual value of duration-in-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • end_time (Optional[Sequence[str]]) – (experimental) end-time property. Specify an array of string values to match this event if the actual value of end-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_context (Optional[Sequence[str]]) – (experimental) phase-context property. Specify an array of string values to match this event if the actual value of phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_status (Optional[Sequence[str]]) – (experimental) phase-status property. Specify an array of string values to match this event if the actual value of phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • phase_type (Optional[Sequence[str]]) – (experimental) phase-type property. Specify an array of string values to match this event if the actual value of phase-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • start_time (Optional[Sequence[str]]) – (experimental) start-time property. Specify an array of string values to match this event if the actual value of start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

additional_information_item = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.AdditionalInformationItem(
    duration_in_seconds=["durationInSeconds"],
    end_time=["endTime"],
    phase_context=["phaseContext"],
    phase_status=["phaseStatus"],
    phase_type=["phaseType"],
    start_time=["startTime"]
)

Attributes

duration_in_seconds

(experimental) duration-in-seconds property.

Specify an array of string values to match this event if the actual value of duration-in-seconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

end_time

(experimental) end-time property.

Specify an array of string values to match this event if the actual value of end-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_context

(experimental) phase-context property.

Specify an array of string values to match this event if the actual value of phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_status

(experimental) phase-status property.

Specify an array of string values to match this event if the actual value of phase-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

phase_type

(experimental) phase-type property.

Specify an array of string values to match this event if the actual value of phase-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

start_time

(experimental) start-time property.

Specify an array of string values to match this event if the actual value of start-time is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Artifact

class ProjectEvents.CodeBuildBuildStateChange.Artifact(*, location=None, md5_sum=None, sha256_sum=None)

Bases: object

(experimental) Type definition for Artifact.

Parameters:
  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • md5_sum (Optional[Sequence[str]]) – (experimental) md5sum property. Specify an array of string values to match this event if the actual value of md5sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • sha256_sum (Optional[Sequence[str]]) – (experimental) sha256sum property. Specify an array of string values to match this event if the actual value of sha256sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

artifact = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Artifact(
    location=["location"],
    md5_sum=["md5Sum"],
    sha256_sum=["sha256Sum"]
)

Attributes

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

md5_sum

(experimental) md5sum property.

Specify an array of string values to match this event if the actual value of md5sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

sha256_sum

(experimental) sha256sum property.

Specify an array of string values to match this event if the actual value of sha256sum is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Auth

class ProjectEvents.CodeBuildBuildStateChange.Auth(*, resource=None, type=None)

Bases: object

(experimental) Type definition for Auth.

Parameters:
  • resource (Optional[Sequence[str]]) – (experimental) resource property. Specify an array of string values to match this event if the actual value of resource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

auth = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Auth(
    resource=["resource"],
    type=["type"]
)

Attributes

resource

(experimental) resource property.

Specify an array of string values to match this event if the actual value of resource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Cache

class ProjectEvents.CodeBuildBuildStateChange.Cache(*, location=None, type=None)

Bases: object

(experimental) Type definition for Cache.

Parameters:
  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

cache = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Cache(
    location=["location"],
    type=["type"]
)

Attributes

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

CodeBuildBuildStateChangeProps

class ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps(*, additional_information=None, build_id=None, build_status=None, current_phase=None, current_phase_context=None, event_metadata=None, project_name=None, version=None)

Bases: object

(experimental) Props type for Project aws.codebuild@CodeBuildBuildStateChange event.

Parameters:
  • additional_information (Union[AdditionalInformation, Dict[str, Any], None]) – (experimental) additional-information property. Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_id (Optional[Sequence[str]]) – (experimental) build-id property. Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • build_status (Optional[Sequence[str]]) – (experimental) build-status property. Specify an array of string values to match this event if the actual value of build-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • current_phase (Optional[Sequence[str]]) – (experimental) current-phase property. Specify an array of string values to match this event if the actual value of current-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • current_phase_context (Optional[Sequence[str]]) – (experimental) current-phase-context property. Specify an array of string values to match this event if the actual value of current-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • project_name (Optional[Sequence[str]]) – (experimental) project-name property. Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Project reference

  • version (Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

code_build_build_state_change_props = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps(
    additional_information=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation(
        artifact=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Artifact(
            location=["location"],
            md5_sum=["md5Sum"],
            sha256_sum=["sha256Sum"]
        ),
        build_complete=["buildComplete"],
        build_start_time=["buildStartTime"],
        cache=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Cache(
            location=["location"],
            type=["type"]
        ),
        environment=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Environment(
            compute_type=["computeType"],
            environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.EnvironmentItem(
                name=["name"],
                type=["type"],
                value=["value"]
            )],
            image=["image"],
            image_pull_credentials_type=["imagePullCredentialsType"],
            privileged_mode=["privilegedMode"],
            type=["type"]
        ),
        initiator=["initiator"],
        logs=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Logs(
            deep_link=["deepLink"],
            group_name=["groupName"],
            stream_name=["streamName"]
        ),
        network_interface=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.NetworkInterface(
            eni_id=["eniId"],
            subnet_id=["subnetId"]
        ),
        phases=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.AdditionalInformationItem(
            duration_in_seconds=["durationInSeconds"],
            end_time=["endTime"],
            phase_context=["phaseContext"],
            phase_status=["phaseStatus"],
            phase_type=["phaseType"],
            start_time=["startTime"]
        )],
        queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
        source=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Source(
            auth=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Auth(
                resource=["resource"],
                type=["type"]
            ),
            buildspec=["buildspec"],
            location=["location"],
            type=["type"]
        ),
        source_version=["sourceVersion"],
        timeout_in_minutes=["timeoutInMinutes"],
        vpc_config=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfig(
            security_group_ids=["securityGroupIds"],
            subnets=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfigItem(
                build_fleet_az=["buildFleetAz"],
                customer_az=["customerAz"],
                subnet_id=["subnetId"]
            )],
            vpc_id=["vpcId"]
        )
    ),
    build_id=["buildId"],
    build_status=["buildStatus"],
    current_phase=["currentPhase"],
    current_phase_context=["currentPhaseContext"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    project_name=["projectName"],
    version=["version"]
)

Attributes

additional_information

(experimental) additional-information property.

Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_id

(experimental) build-id property.

Specify an array of string values to match this event if the actual value of build-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

build_status

(experimental) build-status property.

Specify an array of string values to match this event if the actual value of build-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

current_phase

(experimental) current-phase property.

Specify an array of string values to match this event if the actual value of current-phase is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

current_phase_context

(experimental) current-phase-context property.

Specify an array of string values to match this event if the actual value of current-phase-context is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

project_name

(experimental) project-name property.

Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Filter with the Project reference

Stability:

experimental

version

(experimental) version property.

Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Environment

class ProjectEvents.CodeBuildBuildStateChange.Environment(*, compute_type=None, environment_variables=None, image=None, image_pull_credentials_type=None, privileged_mode=None, type=None)

Bases: object

(experimental) Type definition for Environment.

Parameters:
  • compute_type (Optional[Sequence[str]]) – (experimental) compute-type property. Specify an array of string values to match this event if the actual value of compute-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • environment_variables (Optional[Sequence[Union[EnvironmentItem, Dict[str, Any]]]]) – (experimental) environment-variables property. Specify an array of string values to match this event if the actual value of environment-variables is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image (Optional[Sequence[str]]) – (experimental) image property. Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image_pull_credentials_type (Optional[Sequence[str]]) – (experimental) image-pull-credentials-type property. Specify an array of string values to match this event if the actual value of image-pull-credentials-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • privileged_mode (Optional[Sequence[str]]) – (experimental) privileged-mode property. Specify an array of string values to match this event if the actual value of privileged-mode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

environment = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Environment(
    compute_type=["computeType"],
    environment_variables=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.EnvironmentItem(
        name=["name"],
        type=["type"],
        value=["value"]
    )],
    image=["image"],
    image_pull_credentials_type=["imagePullCredentialsType"],
    privileged_mode=["privilegedMode"],
    type=["type"]
)

Attributes

compute_type

(experimental) compute-type property.

Specify an array of string values to match this event if the actual value of compute-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

environment_variables

(experimental) environment-variables property.

Specify an array of string values to match this event if the actual value of environment-variables is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image

(experimental) image property.

Specify an array of string values to match this event if the actual value of image is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

image_pull_credentials_type

(experimental) image-pull-credentials-type property.

Specify an array of string values to match this event if the actual value of image-pull-credentials-type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

privileged_mode

(experimental) privileged-mode property.

Specify an array of string values to match this event if the actual value of privileged-mode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

EnvironmentItem

class ProjectEvents.CodeBuildBuildStateChange.EnvironmentItem(*, name=None, type=None, value=None)

Bases: object

(experimental) Type definition for EnvironmentItem.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

environment_item = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.EnvironmentItem(
    name=["name"],
    type=["type"],
    value=["value"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Logs

class ProjectEvents.CodeBuildBuildStateChange.Logs(*, deep_link=None, group_name=None, stream_name=None)

Bases: object

(experimental) Type definition for Logs.

Parameters:
  • deep_link (Optional[Sequence[str]]) – (experimental) deep-link property. Specify an array of string values to match this event if the actual value of deep-link is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • group_name (Optional[Sequence[str]]) – (experimental) group-name property. Specify an array of string values to match this event if the actual value of group-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • stream_name (Optional[Sequence[str]]) – (experimental) stream-name property. Specify an array of string values to match this event if the actual value of stream-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

logs = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Logs(
    deep_link=["deepLink"],
    group_name=["groupName"],
    stream_name=["streamName"]
)

Attributes

(experimental) deep-link property.

Specify an array of string values to match this event if the actual value of deep-link is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

group_name

(experimental) group-name property.

Specify an array of string values to match this event if the actual value of group-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stream_name

(experimental) stream-name property.

Specify an array of string values to match this event if the actual value of stream-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

NetworkInterface

class ProjectEvents.CodeBuildBuildStateChange.NetworkInterface(*, eni_id=None, subnet_id=None)

Bases: object

(experimental) Type definition for Network-interface.

Parameters:
  • eni_id (Optional[Sequence[str]]) – (experimental) eni-id property. Specify an array of string values to match this event if the actual value of eni-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnet_id (Optional[Sequence[str]]) – (experimental) subnet-id property. Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

network_interface = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.NetworkInterface(
    eni_id=["eniId"],
    subnet_id=["subnetId"]
)

Attributes

eni_id

(experimental) eni-id property.

Specify an array of string values to match this event if the actual value of eni-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnet-id property.

Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Source

class ProjectEvents.CodeBuildBuildStateChange.Source(*, auth=None, buildspec=None, location=None, type=None)

Bases: object

(experimental) Type definition for Source.

Parameters:
  • auth (Union[Auth, Dict[str, Any], None]) – (experimental) auth property. Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • buildspec (Optional[Sequence[str]]) – (experimental) buildspec property. Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • location (Optional[Sequence[str]]) – (experimental) location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

source = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Source(
    auth=codebuild_events.ProjectEvents.CodeBuildBuildStateChange.Auth(
        resource=["resource"],
        type=["type"]
    ),
    buildspec=["buildspec"],
    location=["location"],
    type=["type"]
)

Attributes

auth

(experimental) auth property.

Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

buildspec

(experimental) buildspec property.

Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

location

(experimental) location property.

Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

VpcConfig

class ProjectEvents.CodeBuildBuildStateChange.VpcConfig(*, security_group_ids=None, subnets=None, vpc_id=None)

Bases: object

(experimental) Type definition for Vpc-config.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – (experimental) security-group-ids property. Specify an array of string values to match this event if the actual value of security-group-ids is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnets (Optional[Sequence[Union[VpcConfigItem, Dict[str, Any]]]]) – (experimental) subnets property. Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • vpc_id (Optional[Sequence[str]]) – (experimental) vpc-id property. Specify an array of string values to match this event if the actual value of vpc-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

vpc_config = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfig(
    security_group_ids=["securityGroupIds"],
    subnets=[codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfigItem(
        build_fleet_az=["buildFleetAz"],
        customer_az=["customerAz"],
        subnet_id=["subnetId"]
    )],
    vpc_id=["vpcId"]
)

Attributes

security_group_ids

(experimental) security-group-ids property.

Specify an array of string values to match this event if the actual value of security-group-ids is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnets

(experimental) subnets property.

Specify an array of string values to match this event if the actual value of subnets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

vpc_id

(experimental) vpc-id property.

Specify an array of string values to match this event if the actual value of vpc-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

VpcConfigItem

class ProjectEvents.CodeBuildBuildStateChange.VpcConfigItem(*, build_fleet_az=None, customer_az=None, subnet_id=None)

Bases: object

(experimental) Type definition for Vpc-configItem.

Parameters:
  • build_fleet_az (Optional[Sequence[str]]) – (experimental) build-fleet-az property. Specify an array of string values to match this event if the actual value of build-fleet-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • customer_az (Optional[Sequence[str]]) – (experimental) customer-az property. Specify an array of string values to match this event if the actual value of customer-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • subnet_id (Optional[Sequence[str]]) – (experimental) subnet-id property. Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_codebuild import events as codebuild_events

vpc_config_item = codebuild_events.ProjectEvents.CodeBuildBuildStateChange.VpcConfigItem(
    build_fleet_az=["buildFleetAz"],
    customer_az=["customerAz"],
    subnet_id=["subnetId"]
)

Attributes

build_fleet_az

(experimental) build-fleet-az property.

Specify an array of string values to match this event if the actual value of build-fleet-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

customer_az

(experimental) customer-az property.

Specify an array of string values to match this event if the actual value of customer-az is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

subnet_id

(experimental) subnet-id property.

Specify an array of string values to match this event if the actual value of subnet-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental