CodeCommitRepositoryStateChange

class aws_cdk.mixins_preview.aws_codecommit.events.CodeCommitRepositoryStateChange

Bases: object

(experimental) EventBridge event pattern for aws.codecommit@CodeCommitRepositoryStateChange.

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_codecommit import events as codecommit_events

code_commit_repository_state_change = codecommit_events.CodeCommitRepositoryStateChange()
Stability:

experimental

Static Methods

classmethod code_commit_repository_state_change_pattern(*, base_commit_id=None, caller_user_arn=None, commit_id=None, conflict_detail_level=None, conflict_details_level=None, conflict_resolution_strategy=None, destination_commit_id=None, event=None, event_metadata=None, merge_option=None, old_commit_id=None, reference_full_name=None, reference_name=None, reference_type=None, repository_id=None, repository_name=None, source_commit_id=None)

(experimental) EventBridge event pattern for CodeCommit Repository State Change.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CodeCommitRepositoryStateChangeProps

class CodeCommitRepositoryStateChange.CodeCommitRepositoryStateChangeProps(*, base_commit_id=None, caller_user_arn=None, commit_id=None, conflict_detail_level=None, conflict_details_level=None, conflict_resolution_strategy=None, destination_commit_id=None, event=None, event_metadata=None, merge_option=None, old_commit_id=None, reference_full_name=None, reference_name=None, reference_type=None, repository_id=None, repository_name=None, source_commit_id=None)

Bases: object

(experimental) Props type for aws.codecommit@CodeCommitRepositoryStateChange event.

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

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

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

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

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

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

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

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

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

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

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

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

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

  • repository_name (Optional[Sequence[str]]) – (experimental) repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName is one of the values in 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_commit_id (Optional[Sequence[str]]) – (experimental) sourceCommitId property. Specify an array of string values to match this event if the actual value of sourceCommitId is one of the values in the array. 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_codecommit import events as codecommit_events

code_commit_repository_state_change_props = codecommit_events.CodeCommitRepositoryStateChange.CodeCommitRepositoryStateChangeProps(
    base_commit_id=["baseCommitId"],
    caller_user_arn=["callerUserArn"],
    commit_id=["commitId"],
    conflict_detail_level=["conflictDetailLevel"],
    conflict_details_level=["conflictDetailsLevel"],
    conflict_resolution_strategy=["conflictResolutionStrategy"],
    destination_commit_id=["destinationCommitId"],
    event=["event"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    merge_option=["mergeOption"],
    old_commit_id=["oldCommitId"],
    reference_full_name=["referenceFullName"],
    reference_name=["referenceName"],
    reference_type=["referenceType"],
    repository_id=["repositoryId"],
    repository_name=["repositoryName"],
    source_commit_id=["sourceCommitId"]
)

Attributes

base_commit_id

(experimental) baseCommitId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

caller_user_arn

(experimental) callerUserArn property.

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

Default:
  • Do not filter on this field

Stability:

experimental

commit_id

(experimental) commitId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

conflict_detail_level

(experimental) conflictDetailLevel property.

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

Default:
  • Do not filter on this field

Stability:

experimental

conflict_details_level

(experimental) conflictDetailsLevel property.

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

Default:
  • Do not filter on this field

Stability:

experimental

conflict_resolution_strategy

(experimental) conflictResolutionStrategy property.

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

Default:
  • Do not filter on this field

Stability:

experimental

destination_commit_id

(experimental) destinationCommitId property.

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

(experimental) event property.

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

merge_option

(experimental) mergeOption property.

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

Default:
  • Do not filter on this field

Stability:

experimental

old_commit_id

(experimental) oldCommitId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

reference_full_name

(experimental) referenceFullName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

reference_name

(experimental) referenceName property.

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

Default:
  • Do not filter on this field

Stability:

experimental

reference_type

(experimental) referenceType property.

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

Default:
  • Do not filter on this field

Stability:

experimental

repository_id

(experimental) repositoryId property.

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

Default:
  • Filter with the Repository reference

Stability:

experimental

repository_name

(experimental) repositoryName property.

Specify an array of string values to match this event if the actual value of repositoryName is one of the values in the array. 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_commit_id

(experimental) sourceCommitId property.

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

Default:
  • Do not filter on this field

Stability:

experimental