JobDefinitionEksPropertiesPodPropertiesArgs

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

Constructors

constructor(containers: Output<JobDefinitionEksPropertiesPodPropertiesContainersArgs>, dnsPolicy: Output<String>? = null, hostNetwork: Output<Boolean>? = null, imagePullSecrets: Output<List<JobDefinitionEksPropertiesPodPropertiesImagePullSecretArgs>>? = null, initContainers: Output<List<JobDefinitionEksPropertiesPodPropertiesInitContainerArgs>>? = null, metadata: Output<JobDefinitionEksPropertiesPodPropertiesMetadataArgs>? = null, serviceAccountName: Output<String>? = null, shareProcessNamespace: Output<Boolean>? = null, volumes: Output<List<JobDefinitionEksPropertiesPodPropertiesVolumeArgs>>? = null)

Properties

Link copied to clipboard

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

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

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

Whether 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

List of Kubernetes secret resources. See image_pull_secret below.

Link copied to clipboard

Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.

Link copied to clipboard

Metadata about the Kubernetes pod.

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

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

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

Indicates if the processes in a container are shared, or visible, to other containers in the same pod.

Link copied to clipboard

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

Functions

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