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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.CfnJobDefinition.PodPropertiesProperty
CfnJobDefinition.PodPropertiesProperty.Builder, CfnJobDefinition.PodPropertiesProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnJobDefinition.PodPropertiesProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectThe properties of the container that's used on the Amazon EKS pod.final StringThe DNS policy for the pod.final ObjectIndicates if the pod uses the hosts' network IP address.final ObjectCfnJobDefinition.PodPropertiesProperty.Metadata.final StringThe name of the service account that's used to run the pod.final ObjectSpecifies the volumes for a job definition that uses Amazon EKS resources.final inthashCode()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.PodPropertiesPropertyThe properties of the container that's used on the Amazon EKS pod.- Specified by:
getContainersin interfaceCfnJobDefinition.PodPropertiesProperty
-
getDnsPolicy
Description copied from interface:CfnJobDefinition.PodPropertiesPropertyThe DNS policy for the pod.The default value is
ClusterFirst. If thehostNetworkparameter is not specified, the default isClusterFirstWithHostNet.ClusterFirstindicates 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 fordnsPolicyin the RegisterJobDefinition API operation, then no value will be returned fordnsPolicyby either of DescribeJobDefinitions or DescribeJobs API operations. The pod spec setting will contain eitherClusterFirstorClusterFirstWithHostNet, depending on the value of thehostNetworkparameter. For more information, see Pod's DNS policy in the Kubernetes documentation .Valid values:
Default|ClusterFirst|ClusterFirstWithHostNet- Specified by:
getDnsPolicyin interfaceCfnJobDefinition.PodPropertiesProperty
-
getHostNetwork
Description copied from interface:CfnJobDefinition.PodPropertiesPropertyIndicates if the pod uses the hosts' network IP address.The default value is
true. Setting this tofalseenables 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:
getHostNetworkin interfaceCfnJobDefinition.PodPropertiesProperty
-
getMetadata
Description copied from interface:CfnJobDefinition.PodPropertiesPropertyCfnJobDefinition.PodPropertiesProperty.Metadata.- Specified by:
getMetadatain interfaceCfnJobDefinition.PodPropertiesProperty
-
getServiceAccountName
Description copied from interface:CfnJobDefinition.PodPropertiesPropertyThe 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:
getServiceAccountNamein interfaceCfnJobDefinition.PodPropertiesProperty
-
getVolumes
Description copied from interface:CfnJobDefinition.PodPropertiesPropertySpecifies the volumes for a job definition that uses Amazon EKS resources.- Specified by:
getVolumesin interfaceCfnJobDefinition.PodPropertiesProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-