interface EksPropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnJobDefinitionPropsMixin_EksPropertiesProperty |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnJobDefinitionPropsMixin » EksPropertiesProperty |
An object that contains the properties for the Kubernetes resources of a job.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
declare const labels: any;
declare const limits: any;
declare const requests: any;
const eksPropertiesProperty: batch_mixins.CfnJobDefinitionPropsMixin.EksPropertiesProperty = {
podProperties: {
containers: [{
args: ['args'],
command: ['command'],
env: [{
name: 'name',
value: 'value',
}],
image: 'image',
imagePullPolicy: 'imagePullPolicy',
name: 'name',
resources: {
limits: limits,
requests: requests,
},
securityContext: {
allowPrivilegeEscalation: false,
privileged: false,
readOnlyRootFilesystem: false,
runAsGroup: 123,
runAsNonRoot: false,
runAsUser: 123,
},
volumeMounts: [{
mountPath: 'mountPath',
name: 'name',
readOnly: false,
subPath: 'subPath',
}],
}],
dnsPolicy: 'dnsPolicy',
hostNetwork: false,
imagePullSecrets: [{
name: 'name',
}],
initContainers: [{
args: ['args'],
command: ['command'],
env: [{
name: 'name',
value: 'value',
}],
image: 'image',
imagePullPolicy: 'imagePullPolicy',
name: 'name',
resources: {
limits: limits,
requests: requests,
},
securityContext: {
allowPrivilegeEscalation: false,
privileged: false,
readOnlyRootFilesystem: false,
runAsGroup: 123,
runAsNonRoot: false,
runAsUser: 123,
},
volumeMounts: [{
mountPath: 'mountPath',
name: 'name',
readOnly: false,
subPath: 'subPath',
}],
}],
metadata: {
labels: labels,
},
serviceAccountName: 'serviceAccountName',
shareProcessNamespace: false,
volumes: [{
emptyDir: {
medium: 'medium',
sizeLimit: 'sizeLimit',
},
hostPath: {
path: 'path',
},
name: 'name',
persistentVolumeClaim: {
claimName: 'claimName',
readOnly: false,
},
secret: {
optional: false,
secretName: 'secretName',
},
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| pod | IResolvable | Pod | The properties for the Kubernetes pod resources of a job. |
podProperties?
Type:
IResolvable | Pod
(optional)
The properties for the Kubernetes pod resources of a job.

.NET
Go
Java
Python
TypeScript