Package com.pulumi.aws.batch.outputs
Class JobDefinitionEksPropertiesPodProperties
- java.lang.Object
-
- com.pulumi.aws.batch.outputs.JobDefinitionEksPropertiesPodProperties
-
public final class JobDefinitionEksPropertiesPodProperties extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobDefinitionEksPropertiesPodProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobDefinitionEksPropertiesPodProperties.Builderbuilder()static JobDefinitionEksPropertiesPodProperties.Builderbuilder(JobDefinitionEksPropertiesPodProperties defaults)java.util.List<JobDefinitionEksPropertiesPodPropertiesContainer>containers()java.util.Optional<java.lang.String>dnsPolicy()java.util.Optional<java.lang.Boolean>hostNetwork()java.util.List<JobDefinitionEksPropertiesPodPropertiesImagePullSecret>imagePullSecrets()java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainer>initContainers()java.util.Optional<JobDefinitionEksPropertiesPodPropertiesMetadata>metadata()java.util.Optional<java.lang.String>serviceAccountName()java.util.Optional<java.lang.Boolean>shareProcessNamespace()java.util.List<JobDefinitionEksPropertiesPodPropertiesVolume>volumes()
-
-
-
Method Detail
-
containers
public java.util.List<JobDefinitionEksPropertiesPodPropertiesContainer> containers()
- Returns:
- Properties of the container that's used on the Amazon EKS pod. See `containers` below.
-
dnsPolicy
public java.util.Optional<java.lang.String> dnsPolicy()
- Returns:
- DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` 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.
-
hostNetwork
public java.util.Optional<java.lang.Boolean> hostNetwork()
- Returns:
- 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.
-
imagePullSecrets
public java.util.List<JobDefinitionEksPropertiesPodPropertiesImagePullSecret> imagePullSecrets()
- Returns:
- List of Kubernetes secret resources. See `imagePullSecret` below.
-
initContainers
public java.util.List<JobDefinitionEksPropertiesPodPropertiesInitContainer> initContainers()
- Returns:
- 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 `initContainers` below.
-
metadata
public java.util.Optional<JobDefinitionEksPropertiesPodPropertiesMetadata> metadata()
- Returns:
- Metadata about the Kubernetes pod. See `metadata` below.
-
serviceAccountName
public java.util.Optional<java.lang.String> serviceAccountName()
- Returns:
- Name of the service account that's used to run the pod.
-
shareProcessNamespace
public java.util.Optional<java.lang.Boolean> shareProcessNamespace()
- Returns:
- Whether the processes in a container are shared, or visible, to other containers in the same pod.
-
volumes
public java.util.List<JobDefinitionEksPropertiesPodPropertiesVolume> volumes()
- Returns:
- Volumes for a job definition that uses Amazon EKS resources. See `volumes` below.
-
builder
public static JobDefinitionEksPropertiesPodProperties.Builder builder()
-
builder
public static JobDefinitionEksPropertiesPodProperties.Builder builder(JobDefinitionEksPropertiesPodProperties defaults)
-
-