CapacityTaskArgs class

The set of arguments for CapacityTask. The set of arguments for CapacityTask.

Constructors

CapacityTaskArgs({Input<String?>? assetId, Input<List<CapacityTaskInstancePool>?>? instancePools, Input<CapacityTaskInstancesToExclude?>? instancesToExclude, Input<String?>? orderId, required Input<String> outpostIdentifier, Input<String?>? region, Input<String?>? taskActionOnBlockingInstances, Input<CapacityTaskTimeouts?>? timeouts})
Creates a new CapacityTaskArgs. assetId ID of a specific Outposts asset (hardware server) to target for the capacity task. If omitted, AWS selects an appropriate asset automatically. Discover valid asset IDs with the aws.outposts.getAssets data source. Changing this value forces a new resource. instancePools One or more instancePool blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource. instancesToExclude Single instancesToExclude block specifying user-owned running instances that must not be stopped to free up capacity. See below. Note: AWS does not return this value via the Get/Describe API; after import, you must add the block back to your configuration manually — see Import. orderId ID of the Amazon Web Services Outposts order associated with the capacity task. Changing this value forces a new resource. outpostIdentifier ID or ARN of the Outpost on which to run the capacity task. Both forms are accepted; the provider normalizes the value internally. Changing this value forces a new resource. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. taskActionOnBlockingInstances Action to take if running instances block the capacity task. Valid values are WAIT_FOR_EVACUATION and FAIL_TASK. Changing this value forces a new resource. timeouts Configuration block with timeouts. See below.
const
CapacityTaskArgs.fromMap(Map<String, dynamic> map)
factory

Properties

assetId → Input<String?>?
ID of a specific Outposts asset (hardware server) to target for the capacity task. If omitted, AWS selects an appropriate asset automatically. Discover valid asset IDs with the aws.outposts.getAssets data source. Changing this value forces a new resource.
final
hashCode → int
The hash code for this object.
no setterinherited
instancePools → Input<List<CapacityTaskInstancePool>?>?
One or more instancePool blocks defining the desired instance-type layout for the Outpost. See below. At least one block is required. Changing any value forces a new resource.
final
instancesToExclude → Input<CapacityTaskInstancesToExclude?>?
Single instancesToExclude block specifying user-owned running instances that must not be stopped to free up capacity. See below. Note: AWS does not return this value via the Get/Describe API; after import, you must add the block back to your configuration manually — see Import.
final
orderId → Input<String?>?
ID of the Amazon Web Services Outposts order associated with the capacity task. Changing this value forces a new resource.
final
outpostIdentifier → Input<String>
ID or ARN of the Outpost on which to run the capacity task. Both forms are accepted; the provider normalizes the value internally. Changing this value forces a new resource.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taskActionOnBlockingInstances → Input<String?>?
Action to take if running instances block the capacity task. Valid values are WAIT_FOR_EVACUATION and FAIL_TASK. Changing this value forces a new resource.
final
timeouts → Input<CapacityTaskTimeouts?>?
Configuration block with timeouts. See below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited