Interface CfnJobDefinitionPropsMixin.ConsumableResourcePropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinitionPropsMixin.ConsumableResourcePropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinitionPropsMixin
@Stability(Stable)
public static interface CfnJobDefinitionPropsMixin.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.cfnpropertymixins.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 classstatic final classAn implementation forCfnJobDefinitionPropsMixin.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: '<'eitherIResolvableorCfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty>- See Also:
-
builder
@Stability(Stable) static CfnJobDefinitionPropsMixin.ConsumableResourcePropertiesProperty.Builder builder()
-