interface EksPropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Batch.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbatch#CfnJobDefinitionPropsMixin_EksPropertiesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.batch.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
Python | aws_cdk.cfn_property_mixins.aws_batch.CfnJobDefinitionPropsMixin.EksPropertiesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_batch » 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 { aws_batch as batch } from '@aws-cdk/cfn-property-mixins';
declare const labels: any;
declare const limits: any;
declare const requests: any;
const eksPropertiesProperty: batch.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