Skip to content

ECS  >  Structures  >  UpdateManagedInstancesProviderConfiguration

UpdateManagedInstancesProviderConfiguration

Structure Class

UpdateManagedInstancesProviderConfiguration dataclass

Bases: _SerdeShape

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

Attributes

auto_repair_configuration class-attribute instance-attribute
auto_repair_configuration: AutoRepairConfiguration | None = ...

The updated auto repair configuration for the Amazon ECS Managed Instances capacity provider.

infrastructure_optimization class-attribute instance-attribute
infrastructure_optimization: InfrastructureOptimization | None = ...

The updated infrastructure optimization configuration. Changes to this setting affect how Amazon ECS optimizes instances going forward.

infrastructure_role_arn instance-attribute
infrastructure_role_arn: str

The updated Amazon Resource Name (ARN) of the infrastructure role. The new role must have the necessary permissions to manage instances and access required Amazon Web Services services.

For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.

instance_launch_template instance-attribute
instance_launch_template: InstanceLaunchTemplateUpdate

The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.

propagate_tags class-attribute instance-attribute
propagate_tags: str | None = ...

The updated tag propagation setting. When changed, this affects only new instances launched after the update.