PlacementGroupArgs class

The set of arguments for PlacementGroup. The set of arguments for PlacementGroup.

Constructors

PlacementGroupArgs({Input<String?>? name, Input<int?>? partitionCount, Input<String?>? region, Input<String?>? spreadLevel, required Input strategy, Input<Map<String, String>?>? tags})
Creates a new PlacementGroupArgs. name The name of the placement group. partitionCount The number of partitions to create in the region Region where this resource will be managed. Defaults to the Region set in the provider configuration. spreadLevel Determines how placement groups spread instances. Can only be used strategy The placement strategy. Can be cluster, partition or spread. tags Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
PlacementGroupArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The name of the placement group.
final
partitionCount → Input<int?>?
The number of partitions to create in the placement group. Can only be specified when the strategy is set to partition. Must be at least 1. (default is 2).
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
spreadLevel → Input<String?>?
Determines how placement groups spread instances. Can only be used when the strategy is set to spread. Can be host or rack. host can only be used for Outpost placement groups. Defaults to rack.
final
strategy → Input
The placement strategy. Can be cluster, partition or spread.
final
tags → Input<Map<String, String>?>?
Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
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