interface BatchJobStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Events.BatchJobStateChange.BatchJobStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/events#BatchJobStateChange_BatchJobStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.BatchJobStateChangeProps |
Python | aws_cdk.mixins_preview.aws_batch.events.BatchJobStateChange.BatchJobStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_batch ยป events ยป BatchJobStateChange ยป BatchJobStateChangeProps |
Props type for aws.batch@BatchJobStateChange event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as batch_events } from '@aws-cdk/mixins-preview/aws-batch';
declare const networkInterfaces: any;
const batchJobStateChangeProps: batch_events.BatchJobStateChange.BatchJobStateChangeProps = {
attempts: [{
container: {
containerInstanceArn: ['containerInstanceArn'],
exitCode: ['exitCode'],
logStreamName: ['logStreamName'],
networkInterfaces: [networkInterfaces],
taskArn: ['taskArn'],
},
startedAt: ['startedAt'],
statusReason: ['statusReason'],
stoppedAt: ['stoppedAt'],
}],
container: {
command: ['command'],
containerInstanceArn: ['containerInstanceArn'],
environment: [{
name: ['name'],
value: ['value'],
}],
exitCode: ['exitCode'],
image: ['image'],
logStreamName: ['logStreamName'],
memory: ['memory'],
mountPoints: [{
containerPath: ['containerPath'],
readOnly: ['readOnly'],
sourceVolume: ['sourceVolume'],
}],
networkInterfaces: [{
attachmentId: ['attachmentId'],
ipv6Address: ['ipv6Address'],
privateIpv4Address: ['privateIpv4Address'],
}],
resourceRequirements: [{
type: ['type'],
value: ['value'],
}],
taskArn: ['taskArn'],
ulimits: [{
hardLimit: ['hardLimit'],
name: ['name'],
softLimit: ['softLimit'],
}],
vcpus: ['vcpus'],
volumes: [{
host: {
sourcePath: ['sourcePath'],
},
name: ['name'],
}],
},
createdAt: ['createdAt'],
dependsOn: [{
jobId: ['jobId'],
type: ['type'],
}],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
jobDefinition: ['jobDefinition'],
jobId: ['jobId'],
jobName: ['jobName'],
jobQueue: ['jobQueue'],
parameters: ['parameters'],
retryStrategy: {
attempts: ['attempts'],
},
startedAt: ['startedAt'],
status: ['status'],
statusReason: ['statusReason'],
stoppedAt: ['stoppedAt'],
};
Properties
| Name | Type | Description |
|---|---|---|
| attempts? | Batch[] | attempts property. |
| container? | Container | container property. |
| created | string[] | createdAt property. |
| depends | Job[] | dependsOn property. |
| event | AWSEvent | EventBridge event metadata. |
| job | string[] | jobDefinition property. |
| job | string[] | jobId property. |
| job | string[] | jobName property. |
| job | string[] | jobQueue property. |
| parameters? | string[] | parameters property. |
| retry | Retry | retryStrategy property. |
| started | string[] | startedAt property. |
| status? | string[] | status property. |
| status | string[] | statusReason property. |
| stopped | string[] | stoppedAt property. |
attempts?
Type:
Batch[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
container?
Type:
Container
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
createdAt?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
dependsOn?
Type:
Job[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
jobDefinition?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
jobId?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
jobName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
jobQueue?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
parameters?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
retryStrategy?
Type:
Retry
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
startedAt?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
status?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
statusReason?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
stoppedAt?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript