Interface CfnJobDefinition.ConsumableResourcePropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.ConsumableResourcePropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.ConsumableResourcePropertiesProperty
extends software.amazon.jsii.JsiiSerializable
Contains a list of consumable resources required by a job.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
ConsumableResourcePropertiesProperty consumableResourcePropertiesProperty = ConsumableResourcePropertiesProperty.builder()
.consumableResourceList(List.of(ConsumableResourceRequirementProperty.builder()
.consumableResource("consumableResource")
.quantity(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.ConsumableResourcePropertiesPropertystatic final classAn implementation forCfnJobDefinition.ConsumableResourcePropertiesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsumableResourceList
The list of consumable resources required by a job.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnJobDefinition.ConsumableResourceRequirementProperty>- See Also:
-
builder
-