JobEvents
- class aws_cdk.mixins_preview.aws_glue.events.JobEvents(*args: Any, **kwargs)
Bases:
object(experimental) EventBridge event patterns for Job.
- 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_glue import events as glue_events from aws_cdk.interfaces import aws_glue as interfaces_aws_glue # job_ref: interfaces_aws_glue.IJobRef job_events = glue_events.JobEvents.from_job(job_ref)
Methods
- aws_api_call_via_cloud_trail_pattern(*, aws_region=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 Job 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
- glue_job_run_status_pattern(*, event_metadata=None, job_name=None, job_run_id=None, message=None, notification_condition=None, severity=None, started_on=None, state=None)
(experimental) EventBridge event pattern for Job Glue Job Run Status.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldnotification_condition (
Union[NotificationCondition,Dict[str,Any],None]) – (experimental) notificationCondition property. Specify an array of string values to match this event if the actual value of notificationCondition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldseverity (
Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstarted_on (
Optional[Sequence[str]]) – (experimental) startedOn property. Specify an array of string values to match this event if the actual value of startedOn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
- glue_job_state_change_pattern(*, event_metadata=None, job_name=None, job_run_id=None, message=None, severity=None, state=None)
(experimental) EventBridge event pattern for Job Glue Job State Change.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldseverity (
Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Static Methods
AWSAPICallViaCloudTrail
- class JobEvents.AWSAPICallViaCloudTrail
Bases:
object(experimental) aws.glue@AWSAPICallViaCloudTrail event types for Job.
- 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_glue import events as glue_events a_wSAPICall_via_cloud_trail = glue_events.JobEvents.AWSAPICallViaCloudTrail()
- Stability:
experimental
AWSAPICallViaCloudTrailProps
- class JobEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, aws_region=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 Job aws.glue@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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresponse_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsource_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor 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_glue import events as glue_events a_wSAPICall_via_cloud_trail_props = glue_events.JobEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps( aws_region=["awsRegion"], 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=glue_events.JobEvents.AWSAPICallViaCloudTrail.RequestParameters( allocated_capacity=["allocatedCapacity"], job_name=["jobName"] ), response_elements=glue_events.JobEvents.AWSAPICallViaCloudTrail.ResponseElements( job_run_id=["jobRunId"] ), source_ip_address=["sourceIpAddress"], user_agent=["userAgent"], user_identity=glue_events.JobEvents.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], invoked_by=["invokedBy"], principal_id=["principalId"], session_context=glue_events.JobEvents.AWSAPICallViaCloudTrail.SessionContext( attributes=glue_events.JobEvents.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=glue_events.JobEvents.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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
Attributes
- class JobEvents.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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmfa_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 theaws_events.Matchfor 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_glue import events as glue_events attributes = glue_events.JobEvents.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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RequestParameters
- class JobEvents.AWSAPICallViaCloudTrail.RequestParameters(*, allocated_capacity=None, job_name=None)
Bases:
object(experimental) Type definition for RequestParameters.
- Parameters:
allocated_capacity (
Optional[Sequence[str]]) – (experimental) allocatedCapacity property. Specify an array of string values to match this event if the actual value of allocatedCapacity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldjob_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job reference
- 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_glue import events as glue_events request_parameters = glue_events.JobEvents.AWSAPICallViaCloudTrail.RequestParameters( allocated_capacity=["allocatedCapacity"], job_name=["jobName"] )
Attributes
- allocated_capacity
(experimental) allocatedCapacity property.
Specify an array of string values to match this event if the actual value of allocatedCapacity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- job_name
(experimental) jobName property.
Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Job reference
- Stability:
experimental
ResponseElements
- class JobEvents.AWSAPICallViaCloudTrail.ResponseElements(*, job_run_id=None)
Bases:
object(experimental) Type definition for ResponseElements.
- Parameters:
job_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_glue import events as glue_events response_elements = glue_events.JobEvents.AWSAPICallViaCloudTrail.ResponseElements( job_run_id=["jobRunId"] )
Attributes
- job_run_id
(experimental) jobRunId property.
Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
SessionContext
- class JobEvents.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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsession_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 theaws_events.Matchfor 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_glue import events as glue_events session_context = glue_events.JobEvents.AWSAPICallViaCloudTrail.SessionContext( attributes=glue_events.JobEvents.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=glue_events.JobEvents.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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
SessionIssuer
- class JobEvents.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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprincipal_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielduser_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 theaws_events.Matchfor 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_glue import events as glue_events session_issuer = glue_events.JobEvents.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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
UserIdentity
- class JobEvents.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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldaccount_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinvoked_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprincipal_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsession_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
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 theaws_events.Matchfor 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_glue import events as glue_events user_identity = glue_events.JobEvents.AWSAPICallViaCloudTrail.UserIdentity( access_key_id=["accessKeyId"], account_id=["accountId"], arn=["arn"], invoked_by=["invokedBy"], principal_id=["principalId"], session_context=glue_events.JobEvents.AWSAPICallViaCloudTrail.SessionContext( attributes=glue_events.JobEvents.AWSAPICallViaCloudTrail.Attributes( creation_date=["creationDate"], mfa_authenticated=["mfaAuthenticated"] ), session_issuer=glue_events.JobEvents.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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
GlueJobRunStatus
- class JobEvents.GlueJobRunStatus
Bases:
object(experimental) aws.glue@GlueJobRunStatus event types for Job.
- 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_glue import events as glue_events glue_job_run_status = glue_events.JobEvents.GlueJobRunStatus()
- Stability:
experimental
GlueJobRunStatusProps
- class JobEvents.GlueJobRunStatus.GlueJobRunStatusProps(*, event_metadata=None, job_name=None, job_run_id=None, message=None, notification_condition=None, severity=None, started_on=None, state=None)
Bases:
object(experimental) Props type for Job aws.glue@GlueJobRunStatus event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldnotification_condition (
Union[NotificationCondition,Dict[str,Any],None]) – (experimental) notificationCondition property. Specify an array of string values to match this event if the actual value of notificationCondition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldseverity (
Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstarted_on (
Optional[Sequence[str]]) – (experimental) startedOn property. Specify an array of string values to match this event if the actual value of startedOn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_glue import events as glue_events glue_job_run_status_props = glue_events.JobEvents.GlueJobRunStatus.GlueJobRunStatusProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), job_name=["jobName"], job_run_id=["jobRunId"], message=["message"], notification_condition=glue_events.JobEvents.GlueJobRunStatus.NotificationCondition( notify_delay_after=["notifyDelayAfter"] ), severity=["severity"], started_on=["startedOn"], state=["state"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- job_name
(experimental) jobName property.
Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Job reference
- Stability:
experimental
- job_run_id
(experimental) jobRunId property.
Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- notification_condition
(experimental) notificationCondition property.
Specify an array of string values to match this event if the actual value of notificationCondition is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- severity
(experimental) severity property.
Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- started_on
(experimental) startedOn property.
Specify an array of string values to match this event if the actual value of startedOn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- state
(experimental) state property.
Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
NotificationCondition
- class JobEvents.GlueJobRunStatus.NotificationCondition(*, notify_delay_after=None)
Bases:
object(experimental) Type definition for NotificationCondition.
- Parameters:
notify_delay_after (
Optional[Sequence[str]]) – (experimental) NotifyDelayAfter property. Specify an array of string values to match this event if the actual value of NotifyDelayAfter is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_glue import events as glue_events notification_condition = glue_events.JobEvents.GlueJobRunStatus.NotificationCondition( notify_delay_after=["notifyDelayAfter"] )
Attributes
- notify_delay_after
(experimental) NotifyDelayAfter property.
Specify an array of string values to match this event if the actual value of NotifyDelayAfter is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
GlueJobStateChange
- class JobEvents.GlueJobStateChange
Bases:
object(experimental) aws.glue@GlueJobStateChange event types for Job.
- 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_glue import events as glue_events glue_job_state_change = glue_events.JobEvents.GlueJobStateChange()
- Stability:
experimental
GlueJobStateChangeProps
- class JobEvents.GlueJobStateChange.GlueJobStateChangeProps(*, event_metadata=None, job_name=None, job_run_id=None, message=None, severity=None, state=None)
Bases:
object(experimental) Props type for Job aws.glue@GlueJobStateChange event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -job_name (
Optional[Sequence[str]]) – (experimental) jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Filter with the Job referencejob_run_id (
Optional[Sequence[str]]) – (experimental) jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmessage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldseverity (
Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstate (
Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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_glue import events as glue_events glue_job_state_change_props = glue_events.JobEvents.GlueJobStateChange.GlueJobStateChangeProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), job_name=["jobName"], job_run_id=["jobRunId"], message=["message"], severity=["severity"], state=["state"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- job_name
(experimental) jobName property.
Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Filter with the Job reference
- Stability:
experimental
- job_run_id
(experimental) jobRunId property.
Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- severity
(experimental) severity property.
Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- state
(experimental) state property.
Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental