Class CfnJobDefinition.PodPropertiesProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnJobDefinition.PodPropertiesProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnJobDefinition.PodPropertiesProperty
CfnJobDefinition.PodPropertiesProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.CfnJobDefinition.PodPropertiesProperty
CfnJobDefinition.PodPropertiesProperty.Builder, CfnJobDefinition.PodPropertiesProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnJobDefinition.PodPropertiesProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
The properties of the container that's used on the Amazon EKS pod.final String
The DNS policy for the pod.final Object
Indicates if the pod uses the hosts' network IP address.final Object
final Object
These containers run before application containers, always runs to completion, and must complete successfully before the next container starts.final Object
Metadata about the Kubernetes pod.final String
The name of the service account that's used to run the pod.final Object
Indicates if the processes in a container are shared, or visible, to other containers in the same pod.final Object
Specifies the volumes for a job definition that uses Amazon EKS resources.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnJobDefinition.PodPropertiesProperty.Builder
.
-
-
Method Details
-
getContainers
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
The properties of the container that's used on the Amazon EKS pod.This object is limited to 10 elements.
- Specified by:
getContainers
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getDnsPolicy
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
The DNS policy for the pod.The default value is
ClusterFirst
. If thehostNetwork
parameter is not specified, the default isClusterFirstWithHostNet
.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 .Valid values:
Default
|ClusterFirst
|ClusterFirstWithHostNet
- Specified by:
getDnsPolicy
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getHostNetwork
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
Indicates if the pod uses the hosts' network IP address.The default value is
true
. Setting this tofalse
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. For more information, see Host namespaces and Pod networking in the Kubernetes documentation .- Specified by:
getHostNetwork
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getImagePullSecrets
- Specified by:
getImagePullSecrets
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getInitContainers
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
These containers 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. For more information, see Init Containers in the Kubernetes documentation .
This object is limited to 10 elements.
- Specified by:
getInitContainers
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getMetadata
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
Metadata about the Kubernetes pod.For more information, see Understanding Kubernetes Objects in the Kubernetes documentation .
- Specified by:
getMetadata
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getServiceAccountName
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
The name of the service account that's used to run the pod.For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation .
- Specified by:
getServiceAccountName
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
getVolumes
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
Specifies the volumes for a job definition that uses Amazon EKS resources.- Specified by:
getVolumes
in interfaceCfnJobDefinition.PodPropertiesProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-