CapacityProviderArgs constructor

const CapacityProviderArgs({
  1. Input<CapacityProviderAutoScalingGroupProvider?>? autoScalingGroupProvider,
  2. Input<String?>? cluster,
  3. Input<CapacityProviderManagedInstancesProvider?>? managedInstancesProvider,
  4. Input<String?>? name,
  5. Input<String?>? region,
  6. 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.

Implementation

const CapacityProviderArgs({
  this.autoScalingGroupProvider,
  this.cluster,
  this.managedInstancesProvider,
  this.name,
  this.region,
  this.tags,
});