Interface IEksJobDefinition
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IJobDefinition
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IEksJobDefinition.Jsii$Default
- All Known Implementing Classes:
EksJobDefinition
,IEksJobDefinition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.974Z")
@Stability(Stable)
public interface IEksJobDefinition
extends software.amazon.jsii.JsiiSerializable, IJobDefinition
A JobDefinition that uses Eks orchestration.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIEksJobDefinition
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe container this Job Definition will run.default DnsPolicy
The DNS Policy of the pod used by this Job Definition.default String
The name of the service account that's used to run the container.default Boolean
If specified, the Pod used by this Job Definition will use the host's network IP address.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.batch.IJobDefinition
addRetryStrategy, getJobDefinitionArn, getJobDefinitionName, getParameters, getRetryAttempts, getRetryStrategies, getSchedulingPriority, getTimeout
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainer
The container this Job Definition will run. -
getDnsPolicy
The DNS Policy of the pod used by this Job Definition.Default: `DnsPolicy.CLUSTER_FIRST`
- See Also:
-
getServiceAccount
The name of the service account that's used to run the container.service accounts are Kubernetes method of identification and authentication, roughly analogous to IAM users.
Default: - the default service account of the container
- See Also:
-
getUseHostNetwork
If specified, the Pod used by this Job Definition will use the host's network IP address.Otherwise, the Kubernetes pod networking model is enabled. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
Default: true
- See Also:
-