Class CfnJobDefinitionProps.Jsii$Proxy
- All Implemented Interfaces:
CfnJobDefinitionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnJobDefinitionProps
CfnJobDefinitionProps-
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.CfnJobDefinitionProps
CfnJobDefinitionProps.Builder, CfnJobDefinitionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnJobDefinitionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnJobDefinitionProps.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 ObjectContains a list of consumable resources required by the job.final ObjectAn object with properties specific to Amazon ECS-based jobs.final ObjectAn object that contains the properties for the Amazon ECS resources of a job.WhenecsPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,eksProperties, ornodeProperties.final ObjectAn object with properties that are specific to Amazon EKS-based jobs.final StringThe name of the job definition.final ObjectAn object with properties that are specific to multi-node parallel jobs.final ObjectDefault parameters or parameter substitution placeholders that are set in the job definition.The platform capabilities required by the job definition.final ObjectSpecifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.final ObjectSpecifies the resource retention policy settings for the job definition.final ObjectThe retry strategy to use for failed jobs that are submitted with this job definition.final NumberThe scheduling priority of the job definition.final ObjectgetTags()The tags that are applied to the job definition.final ObjectThe timeout time for jobs that are submitted with this job definition.final StringgetType()The type of job definition.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 theCfnJobDefinitionProps.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnJobDefinitionPropsThe type of job definition.For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the AWS Batch User Guide .
- If the value is
container, then one of the following is required:containerProperties,ecsProperties, oreksProperties. - If the value is
multinode, thennodePropertiesis required.
If the job is run on Fargate resources, then
multinodeisn't supported.- Specified by:
getTypein interfaceCfnJobDefinitionProps- See Also:
- If the value is
-
getConsumableResourceProperties
Description copied from interface:CfnJobDefinitionPropsContains a list of consumable resources required by the job.Returns union: either
IResolvableorCfnJobDefinition.ConsumableResourcePropertiesProperty- Specified by:
getConsumableResourcePropertiesin interfaceCfnJobDefinitionProps- See Also:
-
getContainerProperties
Description copied from interface:CfnJobDefinitionPropsAn object with properties specific to Amazon ECS-based jobs.When
containerPropertiesis used in the job definition, it can't be used in addition toeksProperties,ecsProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.ContainerPropertiesProperty- Specified by:
getContainerPropertiesin interfaceCfnJobDefinitionProps- See Also:
-
getEcsProperties
Description copied from interface:CfnJobDefinitionPropsAn object that contains the properties for the Amazon ECS resources of a job.WhenecsPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,eksProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.EcsPropertiesProperty- Specified by:
getEcsPropertiesin interfaceCfnJobDefinitionProps- See Also:
-
getEksProperties
Description copied from interface:CfnJobDefinitionPropsAn object with properties that are specific to Amazon EKS-based jobs.When
eksPropertiesis used in the job definition, it can't be used in addition tocontainerProperties,ecsProperties, ornodeProperties.Returns union: either
IResolvableorCfnJobDefinition.EksPropertiesProperty- Specified by:
getEksPropertiesin interfaceCfnJobDefinitionProps- See Also:
-
getJobDefinitionName
Description copied from interface:CfnJobDefinitionPropsThe name of the job definition.- Specified by:
getJobDefinitionNamein interfaceCfnJobDefinitionProps- See Also:
-
getNodeProperties
Description copied from interface:CfnJobDefinitionPropsAn object with properties that are specific to multi-node parallel jobs.When
nodePropertiesis used in the job definition, it can't be used in addition tocontainerProperties,ecsProperties, oreksProperties.If the job runs on Fargate resources, don't specify
nodeProperties. UsecontainerPropertiesinstead.Returns union: either
IResolvableorCfnJobDefinition.NodePropertiesProperty- Specified by:
getNodePropertiesin interfaceCfnJobDefinitionProps- See Also:
-
getParameters
Description copied from interface:CfnJobDefinitionPropsDefault parameters or parameter substitution placeholders that are set in the job definition.Parameters are specified as a key-value pair mapping. Parameters in a
SubmitJobrequest override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job definition parameters in the AWS Batch User Guide .- Specified by:
getParametersin interfaceCfnJobDefinitionProps- See Also:
-
getPlatformCapabilities
Description copied from interface:CfnJobDefinitionPropsThe platform capabilities required by the job definition.If no value is specified, it defaults to
EC2. Jobs run on Fargate resources specifyFARGATE.- Specified by:
getPlatformCapabilitiesin interfaceCfnJobDefinitionProps- See Also:
-
getPropagateTags
Description copied from interface:CfnJobDefinitionPropsSpecifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task.If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the
FAILEDstate.Returns union: either
BooleanorIResolvable- Specified by:
getPropagateTagsin interfaceCfnJobDefinitionProps- See Also:
-
getResourceRetentionPolicy
Description copied from interface:CfnJobDefinitionPropsSpecifies the resource retention policy settings for the job definition.Returns union: either
IResolvableorCfnJobDefinition.ResourceRetentionPolicyProperty- Specified by:
getResourceRetentionPolicyin interfaceCfnJobDefinitionProps- See Also:
-
getRetryStrategy
Description copied from interface:CfnJobDefinitionPropsThe retry strategy to use for failed jobs that are submitted with this job definition.Returns union: either
IResolvableorCfnJobDefinition.RetryStrategyProperty- Specified by:
getRetryStrategyin interfaceCfnJobDefinitionProps- See Also:
-
getSchedulingPriority
Description copied from interface:CfnJobDefinitionPropsThe scheduling priority of the job definition.This only affects jobs in job queues with a fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
- Specified by:
getSchedulingPriorityin interfaceCfnJobDefinitionProps- See Also:
-
getTags
Description copied from interface:CfnJobDefinitionPropsThe tags that are applied to the job definition.- Specified by:
getTagsin interfaceCfnJobDefinitionProps- See Also:
-
getTimeout
Description copied from interface:CfnJobDefinitionPropsThe timeout time for jobs that are submitted with this job definition.After the amount of time you specify passes, AWS Batch terminates your jobs if they aren't finished.
Returns union: either
IResolvableorCfnJobDefinition.TimeoutProperty- Specified by:
getTimeoutin interfaceCfnJobDefinitionProps- See Also:
-
$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()
-