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
CfnJobDefinition.PodPropertiesProperty.Metadata
.final String
The name of the service account that's used to run the 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.- Specified by:
getContainers
in interfaceCfnJobDefinition.PodPropertiesProperty
-
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. If no value was specified fordnsPolicy
in the RegisterJobDefinition API operation, then no value will be returned fordnsPolicy
by either of DescribeJobDefinitions or DescribeJobs API operations. The pod spec setting will contain eitherClusterFirst
orClusterFirstWithHostNet
, depending on the value of thehostNetwork
parameter. For more information, see Pod's DNS policy in the Kubernetes documentation .Valid values:
Default
|ClusterFirst
|ClusterFirstWithHostNet
- Specified by:
getDnsPolicy
in interfaceCfnJobDefinition.PodPropertiesProperty
-
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
-
getMetadata
Description copied from interface:CfnJobDefinition.PodPropertiesProperty
CfnJobDefinition.PodPropertiesProperty.Metadata
.- Specified by:
getMetadata
in interfaceCfnJobDefinition.PodPropertiesProperty
-
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
-
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
-
$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()
-