AWSAPICallViaCloudTrail

class aws_cdk.mixins_preview.aws_codebuild.events.AWSAPICallViaCloudTrail

Bases: object

(experimental) EventBridge event pattern for aws.codebuild@AWSAPICallViaCloudTrail.

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

a_wSAPICall_via_cloud_trail = codebuild_events.AWSAPICallViaCloudTrail()
Stability:

experimental

Static Methods

classmethod aws_api_call_via_cloud_trail_pattern(*, aws_region=None, error_code=None, error_message=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

(experimental) EventBridge event pattern for AWS API Call via CloudTrail.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion 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

  • error_code (Optional[Sequence[str]]) – (experimental) errorCode property. Specify an array of string values to match this event if the actual value of errorCode 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

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage 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_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID 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: - -

  • event_name (Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName 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_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource 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_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime 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_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType 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_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion 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

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID 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

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters 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

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements 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_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress 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

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent 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

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity 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

AWSAPICallViaCloudTrailProps

class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, aws_region=None, error_code=None, error_message=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

Bases: object

(experimental) Props type for aws.codebuild@AWSAPICallViaCloudTrail event.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion 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

  • error_code (Optional[Sequence[str]]) – (experimental) errorCode property. Specify an array of string values to match this event if the actual value of errorCode 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

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage 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_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID 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: - -

  • event_name (Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName 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_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource 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_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime 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_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType 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_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion 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

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID 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

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters 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

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements 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_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress 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

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent 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

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity 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

a_wSAPICall_via_cloud_trail_props = codebuild_events.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(
    aws_region=["awsRegion"],
    error_code=["errorCode"],
    error_message=["errorMessage"],
    event_id=["eventId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_name=["eventName"],
    event_source=["eventSource"],
    event_time=["eventTime"],
    event_type=["eventType"],
    event_version=["eventVersion"],
    request_id=["requestId"],
    request_parameters=codebuild_events.AWSAPICallViaCloudTrail.RequestParameters(
        aws_act_id=["awsActId"],
        invoked_by=["invokedBy"],
        payer_id=["payerId"],
        user_arn=["userArn"]
    ),
    response_elements=codebuild_events.AWSAPICallViaCloudTrail.ResponseElements(
        build_property=codebuild_events.AWSAPICallViaCloudTrail.Build(
            arn=["arn"],
            artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts(
                encryption_disabled=["encryptionDisabled"],
                location=["location"]
            ),
            build_complete=["buildComplete"],
            build_status=["buildStatus"],
            cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
                location=["location"],
                type=["type"]
            ),
            current_phase=["currentPhase"],
            encryption_key=["encryptionKey"],
            end_time=["endTime"],
            environment=codebuild_events.AWSAPICallViaCloudTrail.Environment(
                certificate=["certificate"],
                compute_type=["computeType"],
                environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
                    name=["name"],
                    type=["type"],
                    value=["value"]
                )],
                image=["image"],
                image_pull_credentials_type=["imagePullCredentialsType"],
                privileged_mode=["privilegedMode"],
                type=["type"]
            ),
            id=["id"],
            initiator=["initiator"],
            logs=codebuild_events.AWSAPICallViaCloudTrail.Logs(
                deep_link=["deepLink"],
                group_name=["groupName"],
                stream_name=["streamName"]
            ),
            phases=[codebuild_events.AWSAPICallViaCloudTrail.BuildPhase(
                duration_in_seconds=["durationInSeconds"],
                end_time=["endTime"],
                phase_context=["phaseContext"],
                phase_status=["phaseStatus"],
                phase_type=["phaseType"],
                start_time=["startTime"]
            )],
            project_name=["projectName"],
            queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
            resolved_source_version=["resolvedSourceVersion"],
            service_role=["serviceRole"],
            source=codebuild_events.AWSAPICallViaCloudTrail.Source(
                auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
                    type=["type"]
                ),
                buildspec=["buildspec"],
                insecure_ssl=["insecureSsl"],
                location=["location"],
                report_build_status=["reportBuildStatus"],
                type=["type"]
            ),
            source_version=["sourceVersion"],
            start_time=["startTime"],
            timeout_in_minutes=["timeoutInMinutes"],
            vpc_config=codebuild_events.AWSAPICallViaCloudTrail.VpcConfig(
                security_group_ids=["securityGroupIds"],
                subnets=["subnets"],
                vpc_id=["vpcId"]
            )
        ),
        message=["message"],
        project=codebuild_events.AWSAPICallViaCloudTrail.Project(
            arn=["arn"],
            artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts1(
                encryption_disabled=["encryptionDisabled"],
                location=["location"],
                name=["name"],
                namespace_type=["namespaceType"],
                packaging=["packaging"],
                type=["type"]
            ),
            badge=codebuild_events.AWSAPICallViaCloudTrail.Badge(
                badge_enabled=["badgeEnabled"],
                badge_request_url=["badgeRequestUrl"]
            ),
            cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
                location=["location"],
                type=["type"]
            ),
            created=["created"],
            description=["description"],
            encryption_key=["encryptionKey"],
            environment=codebuild_events.AWSAPICallViaCloudTrail.Environment1(
                compute_type=["computeType"],
                environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
                    name=["name"],
                    type=["type"],
                    value=["value"]
                )],
                image=["image"],
                image_pull_credentials_type=["imagePullCredentialsType"],
                privileged_mode=["privilegedMode"],
                type=["type"]
            ),
            last_modified=["lastModified"],
            name=["name"],
            queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
            service_role=["serviceRole"],
            source=codebuild_events.AWSAPICallViaCloudTrail.Source1(
                auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
                    type=["type"]
                ),
                buildspec=["buildspec"],
                git_clone_depth=["gitCloneDepth"],
                git_submodules_config=codebuild_events.AWSAPICallViaCloudTrail.GitSubmodulesConfig(
                    fetch_submodules=["fetchSubmodules"]
                ),
                insecure_ssl=["insecureSsl"],
                location=["location"],
                report_build_status=["reportBuildStatus"],
                type=["type"]
            ),
            source_version=["sourceVersion"],
            tags=[codebuild_events.AWSAPICallViaCloudTrail.ProjectItem(
                key=["key"],
                value=["value"]
            )],
            timeout_in_minutes=["timeoutInMinutes"]
        ),
        webhook=codebuild_events.AWSAPICallViaCloudTrail.Webhook(
            branch_filter=["branchFilter"],
            last_modified_secret=["lastModifiedSecret"],
            payload_url=["payloadUrl"],
            url=["url"]
        ),
        webhook_deleted_status=["webhookDeletedStatus"]
    ),
    source_ip_address=["sourceIpAddress"],
    user_agent=["userAgent"],
    user_identity=codebuild_events.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=codebuild_events.AWSAPICallViaCloudTrail.SessionContext(
            attributes=codebuild_events.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=codebuild_events.AWSAPICallViaCloudTrail.SessionIssuer(
                account_id=["accountId"],
                arn=["arn"],
                principal_id=["principalId"],
                type=["type"],
                user_name=["userName"]
            )
        ),
        type=["type"]
    )
)

Attributes

aws_region

(experimental) awsRegion property.

Specify an array of string values to match this event if the actual value of awsRegion 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

error_code

(experimental) errorCode property.

Specify an array of string values to match this event if the actual value of errorCode 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

error_message

(experimental) errorMessage property.

Specify an array of string values to match this event if the actual value of errorMessage 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_id

(experimental) eventID property.

Specify an array of string values to match this event if the actual value of eventID 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

event_name

(experimental) eventName property.

Specify an array of string values to match this event if the actual value of eventName 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_source

(experimental) eventSource property.

Specify an array of string values to match this event if the actual value of eventSource 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_time

(experimental) eventTime property.

Specify an array of string values to match this event if the actual value of eventTime 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_type

(experimental) eventType property.

Specify an array of string values to match this event if the actual value of eventType 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_version

(experimental) eventVersion property.

Specify an array of string values to match this event if the actual value of eventVersion 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

request_id

(experimental) requestID property.

Specify an array of string values to match this event if the actual value of requestID 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

request_parameters

(experimental) requestParameters property.

Specify an array of string values to match this event if the actual value of requestParameters 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

response_elements

(experimental) responseElements property.

Specify an array of string values to match this event if the actual value of responseElements 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_ip_address

(experimental) sourceIPAddress property.

Specify an array of string values to match this event if the actual value of sourceIPAddress 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

user_agent

(experimental) userAgent property.

Specify an array of string values to match this event if the actual value of userAgent 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

user_identity

(experimental) userIdentity property.

Specify an array of string values to match this event if the actual value of userIdentity 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

Artifacts

class AWSAPICallViaCloudTrail.Artifacts(*, encryption_disabled=None, location=None)

Bases: object

(experimental) Type definition for Artifacts.

Parameters:
  • encryption_disabled (Optional[Sequence[str]]) – (experimental) encryptionDisabled property. Specify an array of string values to match this event if the actual value of encryptionDisabled 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

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

artifacts = codebuild_events.AWSAPICallViaCloudTrail.Artifacts(
    encryption_disabled=["encryptionDisabled"],
    location=["location"]
)

Attributes

encryption_disabled

(experimental) encryptionDisabled property.

Specify an array of string values to match this event if the actual value of encryptionDisabled 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

Artifacts1

class AWSAPICallViaCloudTrail.Artifacts1(*, encryption_disabled=None, location=None, name=None, namespace_type=None, packaging=None, type=None)

Bases: object

(experimental) Type definition for Artifacts_1.

Parameters:
  • encryption_disabled (Optional[Sequence[str]]) – (experimental) encryptionDisabled property. Specify an array of string values to match this event if the actual value of encryptionDisabled 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

  • 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

  • namespace_type (Optional[Sequence[str]]) – (experimental) namespaceType property. Specify an array of string values to match this event if the actual value of namespaceType 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

  • packaging (Optional[Sequence[str]]) – (experimental) packaging property. Specify an array of string values to match this event if the actual value of packaging 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

artifacts1 = codebuild_events.AWSAPICallViaCloudTrail.Artifacts1(
    encryption_disabled=["encryptionDisabled"],
    location=["location"],
    name=["name"],
    namespace_type=["namespaceType"],
    packaging=["packaging"],
    type=["type"]
)

Attributes

encryption_disabled

(experimental) encryptionDisabled property.

Specify an array of string values to match this event if the actual value of encryptionDisabled 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

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

namespace_type

(experimental) namespaceType property.

Specify an array of string values to match this event if the actual value of namespaceType 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

packaging

(experimental) packaging property.

Specify an array of string values to match this event if the actual value of packaging 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

Attributes

class AWSAPICallViaCloudTrail.Attributes(*, creation_date=None, mfa_authenticated=None)

Bases: object

(experimental) Type definition for Attributes.

Parameters:
  • creation_date (Optional[Sequence[str]]) – (experimental) creationDate property. Specify an array of string values to match this event if the actual value of creationDate 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

  • mfa_authenticated (Optional[Sequence[str]]) – (experimental) mfaAuthenticated property. Specify an array of string values to match this event if the actual value of mfaAuthenticated 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

attributes = codebuild_events.AWSAPICallViaCloudTrail.Attributes(
    creation_date=["creationDate"],
    mfa_authenticated=["mfaAuthenticated"]
)

Attributes

creation_date

(experimental) creationDate property.

Specify an array of string values to match this event if the actual value of creationDate 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

mfa_authenticated

(experimental) mfaAuthenticated property.

Specify an array of string values to match this event if the actual value of mfaAuthenticated 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 AWSAPICallViaCloudTrail.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.AWSAPICallViaCloudTrail.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

Badge

class AWSAPICallViaCloudTrail.Badge(*, badge_enabled=None, badge_request_url=None)

Bases: object

(experimental) Type definition for Badge.

Parameters:
  • badge_enabled (Optional[Sequence[str]]) – (experimental) badgeEnabled property. Specify an array of string values to match this event if the actual value of badgeEnabled 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

  • badge_request_url (Optional[Sequence[str]]) – (experimental) badgeRequestUrl property. Specify an array of string values to match this event if the actual value of badgeRequestUrl 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

badge = codebuild_events.AWSAPICallViaCloudTrail.Badge(
    badge_enabled=["badgeEnabled"],
    badge_request_url=["badgeRequestUrl"]
)

Attributes

badge_enabled

(experimental) badgeEnabled property.

Specify an array of string values to match this event if the actual value of badgeEnabled 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

badge_request_url

(experimental) badgeRequestUrl property.

Specify an array of string values to match this event if the actual value of badgeRequestUrl 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

class AWSAPICallViaCloudTrail.Build(*, arn=None, artifacts=None, build_complete=None, build_status=None, cache=None, current_phase=None, encryption_key=None, end_time=None, environment=None, id=None, initiator=None, logs=None, phases=None, project_name=None, queued_timeout_in_minutes=None, resolved_source_version=None, service_role=None, source=None, source_version=None, start_time=None, timeout_in_minutes=None, vpc_config=None)

Bases: object

(experimental) Type definition for Build.

Parameters:
  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn 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

  • artifacts (Union[Artifacts, Dict[str, Any], None]) – (experimental) artifacts property. Specify an array of string values to match this event if the actual value of artifacts 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) buildComplete property. Specify an array of string values to match this event if the actual value of buildComplete 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) buildStatus property. Specify an array of string values to match this event if the actual value of buildStatus 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

  • current_phase (Optional[Sequence[str]]) – (experimental) currentPhase property. Specify an array of string values to match this event if the actual value of currentPhase 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

  • encryption_key (Optional[Sequence[str]]) – (experimental) encryptionKey property. Specify an array of string values to match this event if the actual value of encryptionKey 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) endTime property. Specify an array of string values to match this event if the actual value of endTime 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

  • id (Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of 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

  • 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

  • phases (Optional[Sequence[Union[BuildPhase, 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

  • project_name (Optional[Sequence[str]]) – (experimental) projectName property. Specify an array of string values to match this event if the actual value of projectName 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) queuedTimeoutInMinutes property. Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes 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

  • resolved_source_version (Optional[Sequence[str]]) – (experimental) resolvedSourceVersion property. Specify an array of string values to match this event if the actual value of resolvedSourceVersion 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

  • service_role (Optional[Sequence[str]]) – (experimental) serviceRole property. Specify an array of string values to match this event if the actual value of serviceRole 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) sourceVersion property. Specify an array of string values to match this event if the actual value of sourceVersion 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) startTime property. Specify an array of string values to match this event if the actual value of startTime 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) timeoutInMinutes property. Specify an array of string values to match this event if the actual value of timeoutInMinutes 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) vpcConfig property. Specify an array of string values to match this event if the actual value of vpcConfig 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

build = codebuild_events.AWSAPICallViaCloudTrail.Build(
    arn=["arn"],
    artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts(
        encryption_disabled=["encryptionDisabled"],
        location=["location"]
    ),
    build_complete=["buildComplete"],
    build_status=["buildStatus"],
    cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
        location=["location"],
        type=["type"]
    ),
    current_phase=["currentPhase"],
    encryption_key=["encryptionKey"],
    end_time=["endTime"],
    environment=codebuild_events.AWSAPICallViaCloudTrail.Environment(
        certificate=["certificate"],
        compute_type=["computeType"],
        environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
            name=["name"],
            type=["type"],
            value=["value"]
        )],
        image=["image"],
        image_pull_credentials_type=["imagePullCredentialsType"],
        privileged_mode=["privilegedMode"],
        type=["type"]
    ),
    id=["id"],
    initiator=["initiator"],
    logs=codebuild_events.AWSAPICallViaCloudTrail.Logs(
        deep_link=["deepLink"],
        group_name=["groupName"],
        stream_name=["streamName"]
    ),
    phases=[codebuild_events.AWSAPICallViaCloudTrail.BuildPhase(
        duration_in_seconds=["durationInSeconds"],
        end_time=["endTime"],
        phase_context=["phaseContext"],
        phase_status=["phaseStatus"],
        phase_type=["phaseType"],
        start_time=["startTime"]
    )],
    project_name=["projectName"],
    queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
    resolved_source_version=["resolvedSourceVersion"],
    service_role=["serviceRole"],
    source=codebuild_events.AWSAPICallViaCloudTrail.Source(
        auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
            type=["type"]
        ),
        buildspec=["buildspec"],
        insecure_ssl=["insecureSsl"],
        location=["location"],
        report_build_status=["reportBuildStatus"],
        type=["type"]
    ),
    source_version=["sourceVersion"],
    start_time=["startTime"],
    timeout_in_minutes=["timeoutInMinutes"],
    vpc_config=codebuild_events.AWSAPICallViaCloudTrail.VpcConfig(
        security_group_ids=["securityGroupIds"],
        subnets=["subnets"],
        vpc_id=["vpcId"]
    )
)

Attributes

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn 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

artifacts

(experimental) artifacts property.

Specify an array of string values to match this event if the actual value of artifacts 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) buildComplete property.

Specify an array of string values to match this event if the actual value of buildComplete 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) buildStatus property.

Specify an array of string values to match this event if the actual value of buildStatus 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

current_phase

(experimental) currentPhase property.

Specify an array of string values to match this event if the actual value of currentPhase 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

encryption_key

(experimental) encryptionKey property.

Specify an array of string values to match this event if the actual value of encryptionKey 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) endTime property.

Specify an array of string values to match this event if the actual value of endTime 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

id

(experimental) id property.

Specify an array of string values to match this event if the actual value of 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

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

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

project_name

(experimental) projectName property.

Specify an array of string values to match this event if the actual value of projectName 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) queuedTimeoutInMinutes property.

Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes 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

resolved_source_version

(experimental) resolvedSourceVersion property.

Specify an array of string values to match this event if the actual value of resolvedSourceVersion 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

service_role

(experimental) serviceRole property.

Specify an array of string values to match this event if the actual value of serviceRole 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) sourceVersion property.

Specify an array of string values to match this event if the actual value of sourceVersion 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) startTime property.

Specify an array of string values to match this event if the actual value of startTime 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) timeoutInMinutes property.

Specify an array of string values to match this event if the actual value of timeoutInMinutes 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) vpcConfig property.

Specify an array of string values to match this event if the actual value of vpcConfig 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

BuildPhase

class AWSAPICallViaCloudTrail.BuildPhase(*, 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 BuildPhase.

Parameters:
  • duration_in_seconds (Optional[Sequence[str]]) – (experimental) durationInSeconds property. Specify an array of string values to match this event if the actual value of durationInSeconds 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) endTime property. Specify an array of string values to match this event if the actual value of endTime 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) phaseContext property. Specify an array of string values to match this event if the actual value of phaseContext 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) phaseStatus property. Specify an array of string values to match this event if the actual value of phaseStatus 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) phaseType property. Specify an array of string values to match this event if the actual value of phaseType 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) startTime property. Specify an array of string values to match this event if the actual value of startTime 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

build_phase = codebuild_events.AWSAPICallViaCloudTrail.BuildPhase(
    duration_in_seconds=["durationInSeconds"],
    end_time=["endTime"],
    phase_context=["phaseContext"],
    phase_status=["phaseStatus"],
    phase_type=["phaseType"],
    start_time=["startTime"]
)

Attributes

duration_in_seconds

(experimental) durationInSeconds property.

Specify an array of string values to match this event if the actual value of durationInSeconds 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) endTime property.

Specify an array of string values to match this event if the actual value of endTime 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) phaseContext property.

Specify an array of string values to match this event if the actual value of phaseContext 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) phaseStatus property.

Specify an array of string values to match this event if the actual value of phaseStatus 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) phaseType property.

Specify an array of string values to match this event if the actual value of phaseType 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) startTime property.

Specify an array of string values to match this event if the actual value of startTime 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 AWSAPICallViaCloudTrail.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.AWSAPICallViaCloudTrail.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

Environment

class AWSAPICallViaCloudTrail.Environment(*, certificate=None, 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:
  • certificate (Optional[Sequence[str]]) – (experimental) certificate property. Specify an array of string values to match this event if the actual value of certificate 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

  • compute_type (Optional[Sequence[str]]) – (experimental) computeType property. Specify an array of string values to match this event if the actual value of computeType 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) environmentVariables property. Specify an array of string values to match this event if the actual value of environmentVariables 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) imagePullCredentialsType property. Specify an array of string values to match this event if the actual value of imagePullCredentialsType 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) privilegedMode property. Specify an array of string values to match this event if the actual value of privilegedMode 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.AWSAPICallViaCloudTrail.Environment(
    certificate=["certificate"],
    compute_type=["computeType"],
    environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
        name=["name"],
        type=["type"],
        value=["value"]
    )],
    image=["image"],
    image_pull_credentials_type=["imagePullCredentialsType"],
    privileged_mode=["privilegedMode"],
    type=["type"]
)

Attributes

certificate

(experimental) certificate property.

Specify an array of string values to match this event if the actual value of certificate 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

compute_type

(experimental) computeType property.

Specify an array of string values to match this event if the actual value of computeType 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) environmentVariables property.

Specify an array of string values to match this event if the actual value of environmentVariables 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) imagePullCredentialsType property.

Specify an array of string values to match this event if the actual value of imagePullCredentialsType 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) privilegedMode property.

Specify an array of string values to match this event if the actual value of privilegedMode 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

Environment1

class AWSAPICallViaCloudTrail.Environment1(*, 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_1.

Parameters:
  • compute_type (Optional[Sequence[str]]) – (experimental) computeType property. Specify an array of string values to match this event if the actual value of computeType 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) environmentVariables property. Specify an array of string values to match this event if the actual value of environmentVariables 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) imagePullCredentialsType property. Specify an array of string values to match this event if the actual value of imagePullCredentialsType 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) privilegedMode property. Specify an array of string values to match this event if the actual value of privilegedMode 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

environment1 = codebuild_events.AWSAPICallViaCloudTrail.Environment1(
    compute_type=["computeType"],
    environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
        name=["name"],
        type=["type"],
        value=["value"]
    )],
    image=["image"],
    image_pull_credentials_type=["imagePullCredentialsType"],
    privileged_mode=["privilegedMode"],
    type=["type"]
)

Attributes

compute_type

(experimental) computeType property.

Specify an array of string values to match this event if the actual value of computeType 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) environmentVariables property.

Specify an array of string values to match this event if the actual value of environmentVariables 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) imagePullCredentialsType property.

Specify an array of string values to match this event if the actual value of imagePullCredentialsType 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) privilegedMode property.

Specify an array of string values to match this event if the actual value of privilegedMode 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 AWSAPICallViaCloudTrail.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.AWSAPICallViaCloudTrail.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

GitSubmodulesConfig

class AWSAPICallViaCloudTrail.GitSubmodulesConfig(*, fetch_submodules=None)

Bases: object

(experimental) Type definition for GitSubmodulesConfig.

Parameters:

fetch_submodules (Optional[Sequence[str]]) – (experimental) fetchSubmodules property. Specify an array of string values to match this event if the actual value of fetchSubmodules 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

git_submodules_config = codebuild_events.AWSAPICallViaCloudTrail.GitSubmodulesConfig(
    fetch_submodules=["fetchSubmodules"]
)

Attributes

fetch_submodules

(experimental) fetchSubmodules property.

Specify an array of string values to match this event if the actual value of fetchSubmodules 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 AWSAPICallViaCloudTrail.Logs(*, deep_link=None, group_name=None, stream_name=None)

Bases: object

(experimental) Type definition for Logs.

Parameters:
  • deep_link (Optional[Sequence[str]]) – (experimental) deepLink property. Specify an array of string values to match this event if the actual value of deepLink 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) groupName property. Specify an array of string values to match this event if the actual value of groupName 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) streamName property. Specify an array of string values to match this event if the actual value of streamName 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.AWSAPICallViaCloudTrail.Logs(
    deep_link=["deepLink"],
    group_name=["groupName"],
    stream_name=["streamName"]
)

Attributes

(experimental) deepLink property.

Specify an array of string values to match this event if the actual value of deepLink 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) groupName property.

Specify an array of string values to match this event if the actual value of groupName 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) streamName property.

Specify an array of string values to match this event if the actual value of streamName 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

Project

class AWSAPICallViaCloudTrail.Project(*, arn=None, artifacts=None, badge=None, cache=None, created=None, description=None, encryption_key=None, environment=None, last_modified=None, name=None, queued_timeout_in_minutes=None, service_role=None, source=None, source_version=None, tags=None, timeout_in_minutes=None)

Bases: object

(experimental) Type definition for Project.

Parameters:
  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn 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

  • artifacts (Union[Artifacts1, Dict[str, Any], None]) – (experimental) artifacts property. Specify an array of string values to match this event if the actual value of artifacts 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

  • badge (Union[Badge, Dict[str, Any], None]) – (experimental) badge property. Specify an array of string values to match this event if the actual value of badge 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

  • created (Optional[Sequence[str]]) – (experimental) created property. Specify an array of string values to match this event if the actual value of created 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

  • description (Optional[Sequence[str]]) – (experimental) description property. Specify an array of string values to match this event if the actual value of description 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

  • encryption_key (Optional[Sequence[str]]) – (experimental) encryptionKey property. Specify an array of string values to match this event if the actual value of encryptionKey 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[Environment1, 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

  • last_modified (Optional[Sequence[str]]) – (experimental) lastModified property. Specify an array of string values to match this event if the actual value of lastModified 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

  • 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

  • queued_timeout_in_minutes (Optional[Sequence[str]]) – (experimental) queuedTimeoutInMinutes property. Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes 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

  • service_role (Optional[Sequence[str]]) – (experimental) serviceRole property. Specify an array of string values to match this event if the actual value of serviceRole 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[Source1, 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) sourceVersion property. Specify an array of string values to match this event if the actual value of sourceVersion 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

  • tags (Optional[Sequence[Union[ProjectItem, Dict[str, Any]]]]) – (experimental) tags property. Specify an array of string values to match this event if the actual value of tags 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) timeoutInMinutes property. Specify an array of string values to match this event if the actual value of timeoutInMinutes 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

project = codebuild_events.AWSAPICallViaCloudTrail.Project(
    arn=["arn"],
    artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts1(
        encryption_disabled=["encryptionDisabled"],
        location=["location"],
        name=["name"],
        namespace_type=["namespaceType"],
        packaging=["packaging"],
        type=["type"]
    ),
    badge=codebuild_events.AWSAPICallViaCloudTrail.Badge(
        badge_enabled=["badgeEnabled"],
        badge_request_url=["badgeRequestUrl"]
    ),
    cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
        location=["location"],
        type=["type"]
    ),
    created=["created"],
    description=["description"],
    encryption_key=["encryptionKey"],
    environment=codebuild_events.AWSAPICallViaCloudTrail.Environment1(
        compute_type=["computeType"],
        environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
            name=["name"],
            type=["type"],
            value=["value"]
        )],
        image=["image"],
        image_pull_credentials_type=["imagePullCredentialsType"],
        privileged_mode=["privilegedMode"],
        type=["type"]
    ),
    last_modified=["lastModified"],
    name=["name"],
    queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
    service_role=["serviceRole"],
    source=codebuild_events.AWSAPICallViaCloudTrail.Source1(
        auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
            type=["type"]
        ),
        buildspec=["buildspec"],
        git_clone_depth=["gitCloneDepth"],
        git_submodules_config=codebuild_events.AWSAPICallViaCloudTrail.GitSubmodulesConfig(
            fetch_submodules=["fetchSubmodules"]
        ),
        insecure_ssl=["insecureSsl"],
        location=["location"],
        report_build_status=["reportBuildStatus"],
        type=["type"]
    ),
    source_version=["sourceVersion"],
    tags=[codebuild_events.AWSAPICallViaCloudTrail.ProjectItem(
        key=["key"],
        value=["value"]
    )],
    timeout_in_minutes=["timeoutInMinutes"]
)

Attributes

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn 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

artifacts

(experimental) artifacts property.

Specify an array of string values to match this event if the actual value of artifacts 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

badge

(experimental) badge property.

Specify an array of string values to match this event if the actual value of badge 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

created

(experimental) created property.

Specify an array of string values to match this event if the actual value of created 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

description

(experimental) description property.

Specify an array of string values to match this event if the actual value of description 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

encryption_key

(experimental) encryptionKey property.

Specify an array of string values to match this event if the actual value of encryptionKey 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

last_modified

(experimental) lastModified property.

Specify an array of string values to match this event if the actual value of lastModified 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

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

queued_timeout_in_minutes

(experimental) queuedTimeoutInMinutes property.

Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes 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

service_role

(experimental) serviceRole property.

Specify an array of string values to match this event if the actual value of serviceRole 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) sourceVersion property.

Specify an array of string values to match this event if the actual value of sourceVersion 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

tags

(experimental) tags property.

Specify an array of string values to match this event if the actual value of tags 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) timeoutInMinutes property.

Specify an array of string values to match this event if the actual value of timeoutInMinutes 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

ProjectItem

class AWSAPICallViaCloudTrail.ProjectItem(*, key=None, value=None)

Bases: object

(experimental) Type definition for ProjectItem.

Parameters:
  • key (Optional[Sequence[str]]) – (experimental) key property. Specify an array of string values to match this event if the actual value of key 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

project_item = codebuild_events.AWSAPICallViaCloudTrail.ProjectItem(
    key=["key"],
    value=["value"]
)

Attributes

key

(experimental) key property.

Specify an array of string values to match this event if the actual value of key 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

RequestParameters

class AWSAPICallViaCloudTrail.RequestParameters(*, aws_act_id=None, invoked_by=None, payer_id=None, user_arn=None)

Bases: object

(experimental) Type definition for RequestParameters.

Parameters:
  • aws_act_id (Optional[Sequence[str]]) – (experimental) awsActId property. Specify an array of string values to match this event if the actual value of awsActId 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

  • invoked_by (Optional[Sequence[str]]) – (experimental) invokedBy property. Specify an array of string values to match this event if the actual value of invokedBy 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

  • payer_id (Optional[Sequence[str]]) – (experimental) payerId property. Specify an array of string values to match this event if the actual value of payerId 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

  • user_arn (Optional[Sequence[str]]) – (experimental) userArn property. Specify an array of string values to match this event if the actual value of userArn 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

request_parameters = codebuild_events.AWSAPICallViaCloudTrail.RequestParameters(
    aws_act_id=["awsActId"],
    invoked_by=["invokedBy"],
    payer_id=["payerId"],
    user_arn=["userArn"]
)

Attributes

aws_act_id

(experimental) awsActId property.

Specify an array of string values to match this event if the actual value of awsActId 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

invoked_by

(experimental) invokedBy property.

Specify an array of string values to match this event if the actual value of invokedBy 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

payer_id

(experimental) payerId property.

Specify an array of string values to match this event if the actual value of payerId 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

user_arn

(experimental) userArn property.

Specify an array of string values to match this event if the actual value of userArn 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

ResponseElements

class AWSAPICallViaCloudTrail.ResponseElements(*, build_property=None, message=None, project=None, webhook=None, webhook_deleted_status=None)

Bases: object

(experimental) Type definition for ResponseElements.

Parameters:
  • build_property (Union[Build, Dict[str, Any], None]) – (experimental) build property. Specify an array of string values to match this event if the actual value of build 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

  • message (Optional[Sequence[str]]) – (experimental) message property. Specify an array of string values to match this event if the actual value of message 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

  • project (Union[Project, Dict[str, Any], None]) – (experimental) project property. Specify an array of string values to match this event if the actual value of project 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

  • webhook (Union[Webhook, Dict[str, Any], None]) – (experimental) webhook property. Specify an array of string values to match this event if the actual value of webhook 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

  • webhook_deleted_status (Optional[Sequence[str]]) – (experimental) webhookDeletedStatus property. Specify an array of string values to match this event if the actual value of webhookDeletedStatus 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

response_elements = codebuild_events.AWSAPICallViaCloudTrail.ResponseElements(
    build_property=codebuild_events.AWSAPICallViaCloudTrail.Build(
        arn=["arn"],
        artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts(
            encryption_disabled=["encryptionDisabled"],
            location=["location"]
        ),
        build_complete=["buildComplete"],
        build_status=["buildStatus"],
        cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
            location=["location"],
            type=["type"]
        ),
        current_phase=["currentPhase"],
        encryption_key=["encryptionKey"],
        end_time=["endTime"],
        environment=codebuild_events.AWSAPICallViaCloudTrail.Environment(
            certificate=["certificate"],
            compute_type=["computeType"],
            environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
                name=["name"],
                type=["type"],
                value=["value"]
            )],
            image=["image"],
            image_pull_credentials_type=["imagePullCredentialsType"],
            privileged_mode=["privilegedMode"],
            type=["type"]
        ),
        id=["id"],
        initiator=["initiator"],
        logs=codebuild_events.AWSAPICallViaCloudTrail.Logs(
            deep_link=["deepLink"],
            group_name=["groupName"],
            stream_name=["streamName"]
        ),
        phases=[codebuild_events.AWSAPICallViaCloudTrail.BuildPhase(
            duration_in_seconds=["durationInSeconds"],
            end_time=["endTime"],
            phase_context=["phaseContext"],
            phase_status=["phaseStatus"],
            phase_type=["phaseType"],
            start_time=["startTime"]
        )],
        project_name=["projectName"],
        queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
        resolved_source_version=["resolvedSourceVersion"],
        service_role=["serviceRole"],
        source=codebuild_events.AWSAPICallViaCloudTrail.Source(
            auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
                type=["type"]
            ),
            buildspec=["buildspec"],
            insecure_ssl=["insecureSsl"],
            location=["location"],
            report_build_status=["reportBuildStatus"],
            type=["type"]
        ),
        source_version=["sourceVersion"],
        start_time=["startTime"],
        timeout_in_minutes=["timeoutInMinutes"],
        vpc_config=codebuild_events.AWSAPICallViaCloudTrail.VpcConfig(
            security_group_ids=["securityGroupIds"],
            subnets=["subnets"],
            vpc_id=["vpcId"]
        )
    ),
    message=["message"],
    project=codebuild_events.AWSAPICallViaCloudTrail.Project(
        arn=["arn"],
        artifacts=codebuild_events.AWSAPICallViaCloudTrail.Artifacts1(
            encryption_disabled=["encryptionDisabled"],
            location=["location"],
            name=["name"],
            namespace_type=["namespaceType"],
            packaging=["packaging"],
            type=["type"]
        ),
        badge=codebuild_events.AWSAPICallViaCloudTrail.Badge(
            badge_enabled=["badgeEnabled"],
            badge_request_url=["badgeRequestUrl"]
        ),
        cache=codebuild_events.AWSAPICallViaCloudTrail.Cache(
            location=["location"],
            type=["type"]
        ),
        created=["created"],
        description=["description"],
        encryption_key=["encryptionKey"],
        environment=codebuild_events.AWSAPICallViaCloudTrail.Environment1(
            compute_type=["computeType"],
            environment_variables=[codebuild_events.AWSAPICallViaCloudTrail.EnvironmentItem(
                name=["name"],
                type=["type"],
                value=["value"]
            )],
            image=["image"],
            image_pull_credentials_type=["imagePullCredentialsType"],
            privileged_mode=["privilegedMode"],
            type=["type"]
        ),
        last_modified=["lastModified"],
        name=["name"],
        queued_timeout_in_minutes=["queuedTimeoutInMinutes"],
        service_role=["serviceRole"],
        source=codebuild_events.AWSAPICallViaCloudTrail.Source1(
            auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
                type=["type"]
            ),
            buildspec=["buildspec"],
            git_clone_depth=["gitCloneDepth"],
            git_submodules_config=codebuild_events.AWSAPICallViaCloudTrail.GitSubmodulesConfig(
                fetch_submodules=["fetchSubmodules"]
            ),
            insecure_ssl=["insecureSsl"],
            location=["location"],
            report_build_status=["reportBuildStatus"],
            type=["type"]
        ),
        source_version=["sourceVersion"],
        tags=[codebuild_events.AWSAPICallViaCloudTrail.ProjectItem(
            key=["key"],
            value=["value"]
        )],
        timeout_in_minutes=["timeoutInMinutes"]
    ),
    webhook=codebuild_events.AWSAPICallViaCloudTrail.Webhook(
        branch_filter=["branchFilter"],
        last_modified_secret=["lastModifiedSecret"],
        payload_url=["payloadUrl"],
        url=["url"]
    ),
    webhook_deleted_status=["webhookDeletedStatus"]
)

Attributes

build_property

(experimental) build property.

Specify an array of string values to match this event if the actual value of build 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

message

(experimental) message property.

Specify an array of string values to match this event if the actual value of message 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

project

(experimental) project property.

Specify an array of string values to match this event if the actual value of project 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

webhook

(experimental) webhook property.

Specify an array of string values to match this event if the actual value of webhook 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

webhook_deleted_status

(experimental) webhookDeletedStatus property.

Specify an array of string values to match this event if the actual value of webhookDeletedStatus 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

SessionContext

class AWSAPICallViaCloudTrail.SessionContext(*, attributes=None, session_issuer=None)

Bases: object

(experimental) Type definition for SessionContext.

Parameters:
  • attributes (Union[Attributes, Dict[str, Any], None]) – (experimental) attributes property. Specify an array of string values to match this event if the actual value of attributes 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

  • session_issuer (Union[SessionIssuer, Dict[str, Any], None]) – (experimental) sessionIssuer property. Specify an array of string values to match this event if the actual value of sessionIssuer 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

session_context = codebuild_events.AWSAPICallViaCloudTrail.SessionContext(
    attributes=codebuild_events.AWSAPICallViaCloudTrail.Attributes(
        creation_date=["creationDate"],
        mfa_authenticated=["mfaAuthenticated"]
    ),
    session_issuer=codebuild_events.AWSAPICallViaCloudTrail.SessionIssuer(
        account_id=["accountId"],
        arn=["arn"],
        principal_id=["principalId"],
        type=["type"],
        user_name=["userName"]
    )
)

Attributes

attributes

(experimental) attributes property.

Specify an array of string values to match this event if the actual value of attributes 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

session_issuer

(experimental) sessionIssuer property.

Specify an array of string values to match this event if the actual value of sessionIssuer 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

SessionIssuer

class AWSAPICallViaCloudTrail.SessionIssuer(*, account_id=None, arn=None, principal_id=None, type=None, user_name=None)

Bases: object

(experimental) Type definition for SessionIssuer.

Parameters:
  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId 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

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn 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

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId 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

  • user_name (Optional[Sequence[str]]) – (experimental) userName property. Specify an array of string values to match this event if the actual value of userName 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

session_issuer = codebuild_events.AWSAPICallViaCloudTrail.SessionIssuer(
    account_id=["accountId"],
    arn=["arn"],
    principal_id=["principalId"],
    type=["type"],
    user_name=["userName"]
)

Attributes

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId 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

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn 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

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId 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

user_name

(experimental) userName property.

Specify an array of string values to match this event if the actual value of userName 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 AWSAPICallViaCloudTrail.Source(*, auth=None, buildspec=None, insecure_ssl=None, location=None, report_build_status=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

  • insecure_ssl (Optional[Sequence[str]]) – (experimental) insecureSsl property. Specify an array of string values to match this event if the actual value of insecureSsl 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

  • report_build_status (Optional[Sequence[str]]) – (experimental) reportBuildStatus property. Specify an array of string values to match this event if the actual value of reportBuildStatus 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.AWSAPICallViaCloudTrail.Source(
    auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
        type=["type"]
    ),
    buildspec=["buildspec"],
    insecure_ssl=["insecureSsl"],
    location=["location"],
    report_build_status=["reportBuildStatus"],
    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

insecure_ssl

(experimental) insecureSsl property.

Specify an array of string values to match this event if the actual value of insecureSsl 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

report_build_status

(experimental) reportBuildStatus property.

Specify an array of string values to match this event if the actual value of reportBuildStatus 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

Source1

class AWSAPICallViaCloudTrail.Source1(*, auth=None, buildspec=None, git_clone_depth=None, git_submodules_config=None, insecure_ssl=None, location=None, report_build_status=None, type=None)

Bases: object

(experimental) Type definition for Source_1.

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

  • git_clone_depth (Optional[Sequence[str]]) – (experimental) gitCloneDepth property. Specify an array of string values to match this event if the actual value of gitCloneDepth 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

  • git_submodules_config (Union[GitSubmodulesConfig, Dict[str, Any], None]) – (experimental) gitSubmodulesConfig property. Specify an array of string values to match this event if the actual value of gitSubmodulesConfig 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

  • insecure_ssl (Optional[Sequence[str]]) – (experimental) insecureSsl property. Specify an array of string values to match this event if the actual value of insecureSsl 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

  • report_build_status (Optional[Sequence[str]]) – (experimental) reportBuildStatus property. Specify an array of string values to match this event if the actual value of reportBuildStatus 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

source1 = codebuild_events.AWSAPICallViaCloudTrail.Source1(
    auth=codebuild_events.AWSAPICallViaCloudTrail.Auth(
        type=["type"]
    ),
    buildspec=["buildspec"],
    git_clone_depth=["gitCloneDepth"],
    git_submodules_config=codebuild_events.AWSAPICallViaCloudTrail.GitSubmodulesConfig(
        fetch_submodules=["fetchSubmodules"]
    ),
    insecure_ssl=["insecureSsl"],
    location=["location"],
    report_build_status=["reportBuildStatus"],
    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

git_clone_depth

(experimental) gitCloneDepth property.

Specify an array of string values to match this event if the actual value of gitCloneDepth 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

git_submodules_config

(experimental) gitSubmodulesConfig property.

Specify an array of string values to match this event if the actual value of gitSubmodulesConfig 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

insecure_ssl

(experimental) insecureSsl property.

Specify an array of string values to match this event if the actual value of insecureSsl 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

report_build_status

(experimental) reportBuildStatus property.

Specify an array of string values to match this event if the actual value of reportBuildStatus 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

UserIdentity

class AWSAPICallViaCloudTrail.UserIdentity(*, access_key_id=None, account_id=None, arn=None, invoked_by=None, principal_id=None, session_context=None, type=None)

Bases: object

(experimental) Type definition for UserIdentity.

Parameters:
  • access_key_id (Optional[Sequence[str]]) – (experimental) accessKeyId property. Specify an array of string values to match this event if the actual value of accessKeyId 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

  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId 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

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn 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

  • invoked_by (Optional[Sequence[str]]) – (experimental) invokedBy property. Specify an array of string values to match this event if the actual value of invokedBy 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

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId 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

  • session_context (Union[SessionContext, Dict[str, Any], None]) – (experimental) sessionContext property. Specify an array of string values to match this event if the actual value of sessionContext 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

user_identity = codebuild_events.AWSAPICallViaCloudTrail.UserIdentity(
    access_key_id=["accessKeyId"],
    account_id=["accountId"],
    arn=["arn"],
    invoked_by=["invokedBy"],
    principal_id=["principalId"],
    session_context=codebuild_events.AWSAPICallViaCloudTrail.SessionContext(
        attributes=codebuild_events.AWSAPICallViaCloudTrail.Attributes(
            creation_date=["creationDate"],
            mfa_authenticated=["mfaAuthenticated"]
        ),
        session_issuer=codebuild_events.AWSAPICallViaCloudTrail.SessionIssuer(
            account_id=["accountId"],
            arn=["arn"],
            principal_id=["principalId"],
            type=["type"],
            user_name=["userName"]
        )
    ),
    type=["type"]
)

Attributes

access_key_id

(experimental) accessKeyId property.

Specify an array of string values to match this event if the actual value of accessKeyId 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

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId 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

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn 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

invoked_by

(experimental) invokedBy property.

Specify an array of string values to match this event if the actual value of invokedBy 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

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId 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

session_context

(experimental) sessionContext property.

Specify an array of string values to match this event if the actual value of sessionContext 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 AWSAPICallViaCloudTrail.VpcConfig(*, security_group_ids=None, subnets=None, vpc_id=None)

Bases: object

(experimental) Type definition for VpcConfig.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – (experimental) securityGroupIds property. Specify an array of string values to match this event if the actual value of securityGroupIds 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[str]]) – (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) vpcId property. Specify an array of string values to match this event if the actual value of vpcId 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.AWSAPICallViaCloudTrail.VpcConfig(
    security_group_ids=["securityGroupIds"],
    subnets=["subnets"],
    vpc_id=["vpcId"]
)

Attributes

security_group_ids

(experimental) securityGroupIds property.

Specify an array of string values to match this event if the actual value of securityGroupIds 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) vpcId property.

Specify an array of string values to match this event if the actual value of vpcId 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

Webhook

class AWSAPICallViaCloudTrail.Webhook(*, branch_filter=None, last_modified_secret=None, payload_url=None, url=None)

Bases: object

(experimental) Type definition for Webhook.

Parameters:
  • branch_filter (Optional[Sequence[str]]) – (experimental) branchFilter property. Specify an array of string values to match this event if the actual value of branchFilter 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

  • last_modified_secret (Optional[Sequence[str]]) – (experimental) lastModifiedSecret property. Specify an array of string values to match this event if the actual value of lastModifiedSecret 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

  • payload_url (Optional[Sequence[str]]) – (experimental) payloadUrl property. Specify an array of string values to match this event if the actual value of payloadUrl 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

  • url (Optional[Sequence[str]]) – (experimental) url property. Specify an array of string values to match this event if the actual value of url 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

webhook = codebuild_events.AWSAPICallViaCloudTrail.Webhook(
    branch_filter=["branchFilter"],
    last_modified_secret=["lastModifiedSecret"],
    payload_url=["payloadUrl"],
    url=["url"]
)

Attributes

branch_filter

(experimental) branchFilter property.

Specify an array of string values to match this event if the actual value of branchFilter 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

last_modified_secret

(experimental) lastModifiedSecret property.

Specify an array of string values to match this event if the actual value of lastModifiedSecret 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

payload_url

(experimental) payloadUrl property.

Specify an array of string values to match this event if the actual value of payloadUrl 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

url

(experimental) url property.

Specify an array of string values to match this event if the actual value of url 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