BatchJobStateChange
- class aws_cdk.mixins_preview.aws_batch.events.BatchJobStateChange
Bases:
object(experimental) EventBridge event pattern for aws.batch@BatchJobStateChange.
- 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_batch import events as batch_events batch_job_state_change = batch_events.BatchJobStateChange()
- Stability:
experimental
Static Methods
- classmethod batch_job_state_change_pattern(*, attempts=None, container=None, created_at=None, depends_on=None, event_metadata=None, job_definition=None, job_id=None, job_name=None, job_queue=None, parameters=None, retry_strategy=None, started_at=None, status=None, status_reason=None, stopped_at=None)
(experimental) EventBridge event pattern for Batch Job State Change.
- Parameters:
attempts (
Optional[Sequence[Union[BatchJobStateChangeItem,Dict[str,Any]]]]) – (experimental) attempts property. Specify an array of string values to match this event if the actual value of attempts 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 fieldcontainer (
Union[Container,Dict[str,Any],None]) – (experimental) container property. Specify an array of string values to match this event if the actual value of container 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 fieldcreated_at (
Optional[Sequence[str]]) – (experimental) createdAt property. Specify an array of string values to match this event if the actual value of createdAt 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 fielddepends_on (
Optional[Sequence[Union[JobDependency,Dict[str,Any]]]]) – (experimental) dependsOn property. Specify an array of string values to match this event if the actual value of dependsOn 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: - -job_definition (
Optional[Sequence[str]]) – (experimental) jobDefinition property. Specify an array of string values to match this event if the actual value of jobDefinition 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_id (
Optional[Sequence[str]]) – (experimental) jobId property. Specify an array of string values to match this event if the actual value of jobId 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: - Do not filter on this fieldjob_queue (
Optional[Sequence[str]]) – (experimental) jobQueue property. Specify an array of string values to match this event if the actual value of jobQueue 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 fieldparameters (
Optional[Sequence[str]]) – (experimental) parameters property. Specify an array of string values to match this event if the actual value of parameters 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 fieldretry_strategy (
Union[RetryStrategy,Dict[str,Any],None]) – (experimental) retryStrategy property. Specify an array of string values to match this event if the actual value of retryStrategy 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_at (
Optional[Sequence[str]]) – (experimental) startedAt property. Specify an array of string values to match this event if the actual value of startedAt 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 fieldstatus (
Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status 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 fieldstatus_reason (
Optional[Sequence[str]]) – (experimental) statusReason property. Specify an array of string values to match this event if the actual value of statusReason 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 fieldstopped_at (
Optional[Sequence[str]]) – (experimental) stoppedAt property. Specify an array of string values to match this event if the actual value of stoppedAt 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:
BatchJobStateChangeItem
- class BatchJobStateChange.BatchJobStateChangeItem(*, container=None, started_at=None, status_reason=None, stopped_at=None)
Bases:
object(experimental) Type definition for BatchJobStateChangeItem.
- Parameters:
container (
Union[Container1,Dict[str,Any],None]) – (experimental) container property. Specify an array of string values to match this event if the actual value of container 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_at (
Optional[Sequence[str]]) – (experimental) startedAt property. Specify an array of string values to match this event if the actual value of startedAt 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 fieldstatus_reason (
Optional[Sequence[str]]) – (experimental) statusReason property. Specify an array of string values to match this event if the actual value of statusReason 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 fieldstopped_at (
Optional[Sequence[str]]) – (experimental) stoppedAt property. Specify an array of string values to match this event if the actual value of stoppedAt 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_batch import events as batch_events # network_interfaces: Any batch_job_state_change_item = batch_events.BatchJobStateChange.BatchJobStateChangeItem( container=batch_events.BatchJobStateChange.Container1( container_instance_arn=["containerInstanceArn"], exit_code=["exitCode"], log_stream_name=["logStreamName"], network_interfaces=[network_interfaces], task_arn=["taskArn"] ), started_at=["startedAt"], status_reason=["statusReason"], stopped_at=["stoppedAt"] )
Attributes
- container
(experimental) container property.
Specify an array of string values to match this event if the actual value of container 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_at
(experimental) startedAt property.
Specify an array of string values to match this event if the actual value of startedAt 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
- status_reason
(experimental) statusReason property.
Specify an array of string values to match this event if the actual value of statusReason 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
- stopped_at
(experimental) stoppedAt property.
Specify an array of string values to match this event if the actual value of stoppedAt 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
BatchJobStateChangeProps
- class BatchJobStateChange.BatchJobStateChangeProps(*, attempts=None, container=None, created_at=None, depends_on=None, event_metadata=None, job_definition=None, job_id=None, job_name=None, job_queue=None, parameters=None, retry_strategy=None, started_at=None, status=None, status_reason=None, stopped_at=None)
Bases:
object(experimental) Props type for aws.batch@BatchJobStateChange event.
- Parameters:
attempts (
Optional[Sequence[Union[BatchJobStateChangeItem,Dict[str,Any]]]]) – (experimental) attempts property. Specify an array of string values to match this event if the actual value of attempts 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 fieldcontainer (
Union[Container,Dict[str,Any],None]) – (experimental) container property. Specify an array of string values to match this event if the actual value of container 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 fieldcreated_at (
Optional[Sequence[str]]) – (experimental) createdAt property. Specify an array of string values to match this event if the actual value of createdAt 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 fielddepends_on (
Optional[Sequence[Union[JobDependency,Dict[str,Any]]]]) – (experimental) dependsOn property. Specify an array of string values to match this event if the actual value of dependsOn 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: - -job_definition (
Optional[Sequence[str]]) – (experimental) jobDefinition property. Specify an array of string values to match this event if the actual value of jobDefinition 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_id (
Optional[Sequence[str]]) – (experimental) jobId property. Specify an array of string values to match this event if the actual value of jobId 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: - Do not filter on this fieldjob_queue (
Optional[Sequence[str]]) – (experimental) jobQueue property. Specify an array of string values to match this event if the actual value of jobQueue 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 fieldparameters (
Optional[Sequence[str]]) – (experimental) parameters property. Specify an array of string values to match this event if the actual value of parameters 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 fieldretry_strategy (
Union[RetryStrategy,Dict[str,Any],None]) – (experimental) retryStrategy property. Specify an array of string values to match this event if the actual value of retryStrategy 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_at (
Optional[Sequence[str]]) – (experimental) startedAt property. Specify an array of string values to match this event if the actual value of startedAt 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 fieldstatus (
Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status 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 fieldstatus_reason (
Optional[Sequence[str]]) – (experimental) statusReason property. Specify an array of string values to match this event if the actual value of statusReason 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 fieldstopped_at (
Optional[Sequence[str]]) – (experimental) stoppedAt property. Specify an array of string values to match this event if the actual value of stoppedAt 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:
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_batch import events as batch_events # network_interfaces: Any batch_job_state_change_props = batch_events.BatchJobStateChange.BatchJobStateChangeProps( attempts=[batch_events.BatchJobStateChange.BatchJobStateChangeItem( container=batch_events.BatchJobStateChange.Container1( container_instance_arn=["containerInstanceArn"], exit_code=["exitCode"], log_stream_name=["logStreamName"], network_interfaces=[network_interfaces], task_arn=["taskArn"] ), started_at=["startedAt"], status_reason=["statusReason"], stopped_at=["stoppedAt"] )], container=batch_events.BatchJobStateChange.Container( command=["command"], container_instance_arn=["containerInstanceArn"], environment=[batch_events.BatchJobStateChange.ContainerItem( name=["name"], value=["value"] )], exit_code=["exitCode"], image=["image"], log_stream_name=["logStreamName"], memory=["memory"], mount_points=[batch_events.BatchJobStateChange.MountPoint( container_path=["containerPath"], read_only=["readOnly"], source_volume=["sourceVolume"] )], network_interfaces=[batch_events.BatchJobStateChange.NetworkInterface( attachment_id=["attachmentId"], ipv6_address=["ipv6Address"], private_ipv4_address=["privateIpv4Address"] )], resource_requirements=[batch_events.BatchJobStateChange.ResourceRequirement( type=["type"], value=["value"] )], task_arn=["taskArn"], ulimits=[batch_events.BatchJobStateChange.ULimit( hard_limit=["hardLimit"], name=["name"], soft_limit=["softLimit"] )], vcpus=["vcpus"], volumes=[batch_events.BatchJobStateChange.Volumes( host=batch_events.BatchJobStateChange.Host( source_path=["sourcePath"] ), name=["name"] )] ), created_at=["createdAt"], depends_on=[batch_events.BatchJobStateChange.JobDependency( job_id=["jobId"], type=["type"] )], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), job_definition=["jobDefinition"], job_id=["jobId"], job_name=["jobName"], job_queue=["jobQueue"], parameters=["parameters"], retry_strategy=batch_events.BatchJobStateChange.RetryStrategy( attempts=["attempts"] ), started_at=["startedAt"], status=["status"], status_reason=["statusReason"], stopped_at=["stoppedAt"] )
Attributes
- attempts
(experimental) attempts property.
Specify an array of string values to match this event if the actual value of attempts 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
- container
(experimental) container property.
Specify an array of string values to match this event if the actual value of container 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
- created_at
(experimental) createdAt property.
Specify an array of string values to match this event if the actual value of createdAt 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
- depends_on
(experimental) dependsOn property.
Specify an array of string values to match this event if the actual value of dependsOn 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
- job_definition
(experimental) jobDefinition property.
Specify an array of string values to match this event if the actual value of jobDefinition 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_id
(experimental) jobId property.
Specify an array of string values to match this event if the actual value of jobId 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:
Do not filter on this field
- Stability:
experimental
- job_queue
(experimental) jobQueue property.
Specify an array of string values to match this event if the actual value of jobQueue 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
- parameters
(experimental) parameters property.
Specify an array of string values to match this event if the actual value of parameters 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
- retry_strategy
(experimental) retryStrategy property.
Specify an array of string values to match this event if the actual value of retryStrategy 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_at
(experimental) startedAt property.
Specify an array of string values to match this event if the actual value of startedAt 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
- status
(experimental) status property.
Specify an array of string values to match this event if the actual value of status 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
- status_reason
(experimental) statusReason property.
Specify an array of string values to match this event if the actual value of statusReason 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
- stopped_at
(experimental) stoppedAt property.
Specify an array of string values to match this event if the actual value of stoppedAt 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
Container
- class BatchJobStateChange.Container(*, command=None, container_instance_arn=None, environment=None, exit_code=None, image=None, log_stream_name=None, memory=None, mount_points=None, network_interfaces=None, resource_requirements=None, task_arn=None, ulimits=None, vcpus=None, volumes=None)
Bases:
object(experimental) Type definition for Container.
- Parameters:
command (
Optional[Sequence[str]]) – (experimental) command property. Specify an array of string values to match this event if the actual value of command 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 fieldcontainer_instance_arn (
Optional[Sequence[str]]) – (experimental) containerInstanceArn property. Specify an array of string values to match this event if the actual value of containerInstanceArn 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 fieldenvironment (
Optional[Sequence[Union[ContainerItem,Dict[str,Any]]]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldexit_code (
Optional[Sequence[str]]) – (experimental) exitCode property. Specify an array of string values to match this event if the actual value of exitCode 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 fieldimage (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlog_stream_name (
Optional[Sequence[str]]) – (experimental) logStreamName property. Specify an array of string values to match this event if the actual value of logStreamName 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 fieldmemory (
Optional[Sequence[str]]) – (experimental) memory property. Specify an array of string values to match this event if the actual value of memory 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 fieldmount_points (
Optional[Sequence[Union[MountPoint,Dict[str,Any]]]]) – (experimental) mountPoints property. Specify an array of string values to match this event if the actual value of mountPoints 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 fieldnetwork_interfaces (
Optional[Sequence[Union[NetworkInterface,Dict[str,Any]]]]) – (experimental) networkInterfaces property. Specify an array of string values to match this event if the actual value of networkInterfaces 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 fieldresource_requirements (
Optional[Sequence[Union[ResourceRequirement,Dict[str,Any]]]]) – (experimental) resourceRequirements property. Specify an array of string values to match this event if the actual value of resourceRequirements 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 fieldtask_arn (
Optional[Sequence[str]]) – (experimental) taskArn property. Specify an array of string values to match this event if the actual value of taskArn 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 fieldulimits (
Optional[Sequence[Union[ULimit,Dict[str,Any]]]]) – (experimental) ulimits property. Specify an array of string values to match this event if the actual value of ulimits 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 fieldvcpus (
Optional[Sequence[str]]) – (experimental) vcpus property. Specify an array of string values to match this event if the actual value of vcpus 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 fieldvolumes (
Optional[Sequence[Union[Volumes,Dict[str,Any]]]]) – (experimental) volumes property. Specify an array of string values to match this event if the actual value of volumes 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_batch import events as batch_events container = batch_events.BatchJobStateChange.Container( command=["command"], container_instance_arn=["containerInstanceArn"], environment=[batch_events.BatchJobStateChange.ContainerItem( name=["name"], value=["value"] )], exit_code=["exitCode"], image=["image"], log_stream_name=["logStreamName"], memory=["memory"], mount_points=[batch_events.BatchJobStateChange.MountPoint( container_path=["containerPath"], read_only=["readOnly"], source_volume=["sourceVolume"] )], network_interfaces=[batch_events.BatchJobStateChange.NetworkInterface( attachment_id=["attachmentId"], ipv6_address=["ipv6Address"], private_ipv4_address=["privateIpv4Address"] )], resource_requirements=[batch_events.BatchJobStateChange.ResourceRequirement( type=["type"], value=["value"] )], task_arn=["taskArn"], ulimits=[batch_events.BatchJobStateChange.ULimit( hard_limit=["hardLimit"], name=["name"], soft_limit=["softLimit"] )], vcpus=["vcpus"], volumes=[batch_events.BatchJobStateChange.Volumes( host=batch_events.BatchJobStateChange.Host( source_path=["sourcePath"] ), name=["name"] )] )
Attributes
- command
(experimental) command property.
Specify an array of string values to match this event if the actual value of command 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
- container_instance_arn
(experimental) containerInstanceArn property.
Specify an array of string values to match this event if the actual value of containerInstanceArn 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
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- exit_code
(experimental) exitCode property.
Specify an array of string values to match this event if the actual value of exitCode 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
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- log_stream_name
(experimental) logStreamName property.
Specify an array of string values to match this event if the actual value of logStreamName 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
- memory
(experimental) memory property.
Specify an array of string values to match this event if the actual value of memory 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
- mount_points
(experimental) mountPoints property.
Specify an array of string values to match this event if the actual value of mountPoints 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
- network_interfaces
(experimental) networkInterfaces property.
Specify an array of string values to match this event if the actual value of networkInterfaces 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
- resource_requirements
(experimental) resourceRequirements property.
Specify an array of string values to match this event if the actual value of resourceRequirements 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
- task_arn
(experimental) taskArn property.
Specify an array of string values to match this event if the actual value of taskArn 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
- ulimits
(experimental) ulimits property.
Specify an array of string values to match this event if the actual value of ulimits 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
- vcpus
(experimental) vcpus property.
Specify an array of string values to match this event if the actual value of vcpus 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
- volumes
(experimental) volumes property.
Specify an array of string values to match this event if the actual value of volumes 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
Container1
- class BatchJobStateChange.Container1(*, container_instance_arn=None, exit_code=None, log_stream_name=None, network_interfaces=None, task_arn=None)
Bases:
object(experimental) Type definition for Container_1.
- Parameters:
container_instance_arn (
Optional[Sequence[str]]) – (experimental) containerInstanceArn property. Specify an array of string values to match this event if the actual value of containerInstanceArn 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 fieldexit_code (
Optional[Sequence[str]]) – (experimental) exitCode property. Specify an array of string values to match this event if the actual value of exitCode 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 fieldlog_stream_name (
Optional[Sequence[str]]) – (experimental) logStreamName property. Specify an array of string values to match this event if the actual value of logStreamName 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 fieldnetwork_interfaces (
Optional[Sequence[Any]]) – (experimental) networkInterfaces property. Specify an array of string values to match this event if the actual value of networkInterfaces 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 fieldtask_arn (
Optional[Sequence[str]]) – (experimental) taskArn property. Specify an array of string values to match this event if the actual value of taskArn 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_batch import events as batch_events # network_interfaces: Any container1 = batch_events.BatchJobStateChange.Container1( container_instance_arn=["containerInstanceArn"], exit_code=["exitCode"], log_stream_name=["logStreamName"], network_interfaces=[network_interfaces], task_arn=["taskArn"] )
Attributes
- container_instance_arn
(experimental) containerInstanceArn property.
Specify an array of string values to match this event if the actual value of containerInstanceArn 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
- exit_code
(experimental) exitCode property.
Specify an array of string values to match this event if the actual value of exitCode 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
- log_stream_name
(experimental) logStreamName property.
Specify an array of string values to match this event if the actual value of logStreamName 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
- network_interfaces
(experimental) networkInterfaces property.
Specify an array of string values to match this event if the actual value of networkInterfaces 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
- task_arn
(experimental) taskArn property.
Specify an array of string values to match this event if the actual value of taskArn 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
ContainerItem
- class BatchJobStateChange.ContainerItem(*, name=None, value=None)
Bases:
object(experimental) Type definition for ContainerItem.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
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 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_batch import events as batch_events container_item = batch_events.BatchJobStateChange.ContainerItem( name=["name"], 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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
Host
- class BatchJobStateChange.Host(*, source_path=None)
Bases:
object(experimental) Type definition for Host.
- Parameters:
source_path (
Optional[Sequence[str]]) – (experimental) sourcePath property. Specify an array of string values to match this event if the actual value of sourcePath 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_batch import events as batch_events host = batch_events.BatchJobStateChange.Host( source_path=["sourcePath"] )
Attributes
- source_path
(experimental) sourcePath property.
Specify an array of string values to match this event if the actual value of sourcePath 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
JobDependency
- class BatchJobStateChange.JobDependency(*, job_id=None, type=None)
Bases:
object(experimental) Type definition for JobDependency.
- Parameters:
job_id (
Optional[Sequence[str]]) – (experimental) jobId property. Specify an array of string values to match this event if the actual value of jobId 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_batch import events as batch_events job_dependency = batch_events.BatchJobStateChange.JobDependency( job_id=["jobId"], type=["type"] )
Attributes
- job_id
(experimental) jobId property.
Specify an array of string values to match this event if the actual value of jobId 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
MountPoint
- class BatchJobStateChange.MountPoint(*, container_path=None, read_only=None, source_volume=None)
Bases:
object(experimental) Type definition for MountPoint.
- Parameters:
container_path (
Optional[Sequence[str]]) – (experimental) containerPath property. Specify an array of string values to match this event if the actual value of containerPath 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 fieldread_only (
Optional[Sequence[str]]) – (experimental) readOnly property. Specify an array of string values to match this event if the actual value of readOnly 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_volume (
Optional[Sequence[str]]) – (experimental) sourceVolume property. Specify an array of string values to match this event if the actual value of sourceVolume 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_batch import events as batch_events mount_point = batch_events.BatchJobStateChange.MountPoint( container_path=["containerPath"], read_only=["readOnly"], source_volume=["sourceVolume"] )
Attributes
- container_path
(experimental) containerPath property.
Specify an array of string values to match this event if the actual value of containerPath 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
- read_only
(experimental) readOnly property.
Specify an array of string values to match this event if the actual value of readOnly 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_volume
(experimental) sourceVolume property.
Specify an array of string values to match this event if the actual value of sourceVolume 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
NetworkInterface
- class BatchJobStateChange.NetworkInterface(*, attachment_id=None, ipv6_address=None, private_ipv4_address=None)
Bases:
object(experimental) Type definition for NetworkInterface.
- Parameters:
attachment_id (
Optional[Sequence[str]]) – (experimental) attachmentId property. Specify an array of string values to match this event if the actual value of attachmentId 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 fieldipv6_address (
Optional[Sequence[str]]) – (experimental) ipv6Address property. Specify an array of string values to match this event if the actual value of ipv6Address 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 fieldprivate_ipv4_address (
Optional[Sequence[str]]) – (experimental) privateIpv4Address property. Specify an array of string values to match this event if the actual value of privateIpv4Address 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_batch import events as batch_events network_interface = batch_events.BatchJobStateChange.NetworkInterface( attachment_id=["attachmentId"], ipv6_address=["ipv6Address"], private_ipv4_address=["privateIpv4Address"] )
Attributes
- attachment_id
(experimental) attachmentId property.
Specify an array of string values to match this event if the actual value of attachmentId 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
- ipv6_address
(experimental) ipv6Address property.
Specify an array of string values to match this event if the actual value of ipv6Address 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
- private_ipv4_address
(experimental) privateIpv4Address property.
Specify an array of string values to match this event if the actual value of privateIpv4Address 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
ResourceRequirement
- class BatchJobStateChange.ResourceRequirement(*, type=None, value=None)
Bases:
object(experimental) Type definition for ResourceRequirement.
- 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvalue (
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 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_batch import events as batch_events resource_requirement = batch_events.BatchJobStateChange.ResourceRequirement( type=["type"], value=["value"] )
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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
RetryStrategy
- class BatchJobStateChange.RetryStrategy(*, attempts=None)
Bases:
object(experimental) Type definition for RetryStrategy.
- Parameters:
attempts (
Optional[Sequence[str]]) – (experimental) attempts property. Specify an array of string values to match this event if the actual value of attempts 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_batch import events as batch_events retry_strategy = batch_events.BatchJobStateChange.RetryStrategy( attempts=["attempts"] )
Attributes
- attempts
(experimental) attempts property.
Specify an array of string values to match this event if the actual value of attempts 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
ULimit
- class BatchJobStateChange.ULimit(*, hard_limit=None, name=None, soft_limit=None)
Bases:
object(experimental) Type definition for ULimit.
- Parameters:
hard_limit (
Optional[Sequence[str]]) – (experimental) hardLimit property. Specify an array of string values to match this event if the actual value of hardLimit 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 fieldname (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsoft_limit (
Optional[Sequence[str]]) – (experimental) softLimit property. Specify an array of string values to match this event if the actual value of softLimit 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_batch import events as batch_events u_limit = batch_events.BatchJobStateChange.ULimit( hard_limit=["hardLimit"], name=["name"], soft_limit=["softLimit"] )
Attributes
- hard_limit
(experimental) hardLimit property.
Specify an array of string values to match this event if the actual value of hardLimit 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
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- soft_limit
(experimental) softLimit property.
Specify an array of string values to match this event if the actual value of softLimit 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
Volumes
- class BatchJobStateChange.Volumes(*, host=None, name=None)
Bases:
object(experimental) Type definition for Volumes.
- Parameters:
host (
Union[Host,Dict[str,Any],None]) – (experimental) host property. Specify an array of string values to match this event if the actual value of host 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 fieldname (
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 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_batch import events as batch_events volumes = batch_events.BatchJobStateChange.Volumes( host=batch_events.BatchJobStateChange.Host( source_path=["sourcePath"] ), name=["name"] )
Attributes
- host
(experimental) host property.
Specify an array of string values to match this event if the actual value of host 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
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental