interface Container
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Events.BatchJobStateChange.Container |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/events#BatchJobStateChange_Container |
Java | software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.Container |
Python | aws_cdk.mixins_preview.aws_batch.events.BatchJobStateChange.Container |
TypeScript | @aws-cdk/mixins-preview ยป aws_batch ยป events ยป BatchJobStateChange ยป Container |
Type definition for Container.
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';
const container: batch_events.BatchJobStateChange.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'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| command? | string[] | command property. |
| container | string[] | containerInstanceArn property. |
| environment? | Container[] | environment property. |
| exit | string[] | exitCode property. |
| image? | string[] | image property. |
| log | string[] | logStreamName property. |
| memory? | string[] | memory property. |
| mount | Mount[] | mountPoints property. |
| network | Network[] | networkInterfaces property. |
| resource | Resource[] | resourceRequirements property. |
| task | string[] | taskArn property. |
| ulimits? | ULimit[] | ulimits property. |
| vcpus? | string[] | vcpus property. |
| volumes? | Volumes[] | volumes property. |
command?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
containerInstanceArn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
environment?
Type:
Container[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
exitCode?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
image?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
logStreamName?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
memory?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
mountPoints?
Type:
Mount[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
networkInterfaces?
Type:
Network[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
resourceRequirements?
Type:
Resource[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
taskArn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
ulimits?
Type:
ULimit[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
vcpus?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
volumes?
Type:
Volumes[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript