Skip to content

UpdateCapacityProviderRequest

Source code in docs_src/capo_ecs/types/update_capacity_provider_request.py
class UpdateCapacityProviderRequest(TypedDict, closed=True):
    name: "capo_ecs.types.string.String"
    """<p>The name of the capacity provider to update.</p>"""
    cluster: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of the cluster that contains the capacity provider to update. Managed instances capacity providers are cluster-scoped and can only be updated within their associated cluster.</p>"""
    auto_scaling_group_provider: NotRequired[
        "capo_ecs.types.auto_scaling_group_provider_update.AutoScalingGroupProviderUpdate"
    ]
    """<p>An object that represent the parameters to update for the Auto Scaling group capacity provider.</p>"""
    managed_instances_provider: NotRequired[
        "capo_ecs.types.update_managed_instances_provider_configuration.UpdateManagedInstancesProviderConfiguration"
    ]
    """<p>The updated configuration for the Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes take effect for new instances launched after the update.</p>"""

auto_scaling_group_provider instance-attribute

auto_scaling_group_provider: NotRequired[AutoScalingGroupProviderUpdate]

An object that represent the parameters to update for the Auto Scaling group capacity provider.

cluster instance-attribute

cluster: NotRequired[String]

The name of the cluster that contains the capacity provider to update. Managed instances capacity providers are cluster-scoped and can only be updated within their associated cluster.

managed_instances_provider instance-attribute

managed_instances_provider: NotRequired[UpdateManagedInstancesProviderConfiguration]

The updated configuration for the Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes take effect for new instances launched after the update.

name instance-attribute

name: String

The name of the capacity provider to update.