JobDefinitionEksPropertiesPodPropertiesArgs

data class JobDefinitionEksPropertiesPodPropertiesArgs(val containers: Output<JobDefinitionEksPropertiesPodPropertiesContainersArgs>, val dnsPolicy: Output<String>? = null, val hostNetwork: Output<Boolean>? = null, val metadata: Output<JobDefinitionEksPropertiesPodPropertiesMetadataArgs>? = null, val serviceAccountName: Output<String>? = null, val volumes: Output<List<JobDefinitionEksPropertiesPodPropertiesVolumeArgs>>? = null) : ConvertibleToJava<JobDefinitionEksPropertiesPodPropertiesArgs>

Constructors

fun JobDefinitionEksPropertiesPodPropertiesArgs(containers: Output<JobDefinitionEksPropertiesPodPropertiesContainersArgs>, dnsPolicy: Output<String>? = null, hostNetwork: Output<Boolean>? = null, metadata: Output<JobDefinitionEksPropertiesPodPropertiesMetadataArgs>? = null, serviceAccountName: Output<String>? = null, volumes: Output<List<JobDefinitionEksPropertiesPodPropertiesVolumeArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): JobDefinitionEksPropertiesPodPropertiesArgs

Properties

Link copied to clipboard

The properties of the container that's used on the Amazon EKS pod. See containers below.

Link copied to clipboard
val dnsPolicy: Output<String>? = null

The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.

Link copied to clipboard
val hostNetwork: Output<Boolean>? = null

Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.

Link copied to clipboard

Metadata about the Kubernetes pod.

Link copied to clipboard
val serviceAccountName: Output<String>? = null

The name of the service account that's used to run the pod.

Link copied to clipboard

Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.