CodeCommitApprovalRuleTemplateChange

class aws_cdk.mixins_preview.aws_codecommit.events.CodeCommitApprovalRuleTemplateChange

Bases: object

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

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_approval_rule_template_change = codecommit_events.CodeCommitApprovalRuleTemplateChange()
Stability:

experimental

Static Methods

classmethod code_commit_approval_rule_template_change_pattern(*, approval_rule_template_content_sha256=None, approval_rule_template_id=None, approval_rule_template_name=None, caller_user_arn=None, creation_date=None, event=None, event_metadata=None, last_modified_date=None, notification_body=None, repositories=None)

(experimental) EventBridge event pattern for CodeCommit Approval Rule Template Change.

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

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

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

  • 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

  • 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: - -

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

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

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

CodeCommitApprovalRuleTemplateChangeProps

class CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps(*, approval_rule_template_content_sha256=None, approval_rule_template_id=None, approval_rule_template_name=None, caller_user_arn=None, creation_date=None, event=None, event_metadata=None, last_modified_date=None, notification_body=None, repositories=None)

Bases: object

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

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

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

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

  • 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

  • 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: - -

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

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

  • repositories (Optional[Mapping[str, str]]) – (experimental) repositories property. Specify an array of string values to match this event if the actual value of repositories is one of the values in the array. 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_approval_rule_template_change_props = codecommit_events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps(
    approval_rule_template_content_sha256=["approvalRuleTemplateContentSha256"],
    approval_rule_template_id=["approvalRuleTemplateId"],
    approval_rule_template_name=["approvalRuleTemplateName"],
    caller_user_arn=["callerUserArn"],
    creation_date=["creationDate"],
    event=["event"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    last_modified_date=["lastModifiedDate"],
    notification_body=["notificationBody"],
    repositories={
        "repositories_key": "repositories"
    }
)

Attributes

approval_rule_template_content_sha256

(experimental) approvalRuleTemplateContentSha256 property.

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

Default:
  • Do not filter on this field

Stability:

experimental

approval_rule_template_id

(experimental) approvalRuleTemplateId property.

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

Default:
  • Do not filter on this field

Stability:

experimental

approval_rule_template_name

(experimental) approvalRuleTemplateName property.

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

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

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

last_modified_date

(experimental) lastModifiedDate property.

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

Default:
  • Do not filter on this field

Stability:

experimental

notification_body

(experimental) notificationBody property.

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

Default:
  • Do not filter on this field

Stability:

experimental

repositories

(experimental) repositories property.

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

Default:
  • Do not filter on this field

Stability:

experimental