CapacityProviderArgs class

The set of arguments for CapacityProvider. The set of arguments for CapacityProvider.

Constructors

CapacityProviderArgs({Input<CapacityProviderAutoScalingGroupProvider?>? autoScalingGroupProvider, Input<String?>? cluster, Input<CapacityProviderManagedInstancesProvider?>? managedInstancesProvider, Input<String?>? name, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new CapacityProviderArgs. autoScalingGroupProvider Configuration block for the provider for the ECS auto scaling group. Detailed below. Exactly one of autoScalingGroupProvider or managedInstancesProvider must be specified. cluster Name of the ECS cluster. Required when using managedInstancesProvider. Must not be set when using autoScalingGroupProvider. managedInstancesProvider Configuration block for the managed instances provider. Detailed below. Exactly one of autoScalingGroupProvider or managedInstancesProvider must be specified. name Name of the capacity provider. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. 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
CapacityProviderArgs.fromMap(Map<String, dynamic> map)
factory

Properties

autoScalingGroupProvider → Input<CapacityProviderAutoScalingGroupProvider?>?
Configuration block for the provider for the ECS auto scaling group. Detailed below. Exactly one of autoScalingGroupProvider or managedInstancesProvider must be specified.
final
cluster → Input<String?>?
Name of the ECS cluster. Required when using managedInstancesProvider. Must not be set when using autoScalingGroupProvider.
final
hashCode → int
The hash code for this object.
no setterinherited
managedInstancesProvider → Input<CapacityProviderManagedInstancesProvider?>?
Configuration block for the managed instances provider. Detailed below. Exactly one of autoScalingGroupProvider or managedInstancesProvider must be specified.
final
name → Input<String?>?
Name of the capacity provider.
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
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