AutoScalingGroupOptions

class aws_cdk.aws_eks_legacy.AutoScalingGroupOptions(*, bootstrap_enabled=None, bootstrap_options=None, map_role=None)

Bases: object

(deprecated) Options for adding an AutoScalingGroup as capacity.

Parameters
  • bootstrap_enabled (Optional[bool]) – (deprecated) Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke /etc/eks/bootstrap.sh) and associate it with the EKS cluster. If you wish to provide a custom user data script, set this to false and manually invoke autoscalingGroup.addUserData(). Default: true

  • bootstrap_options (Optional[BootstrapOptions]) – (deprecated) Allows options for node bootstrapping through EC2 user data.

  • map_role (Optional[bool]) – (deprecated) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC. This cannot be explicitly set to true if the cluster has kubectl disabled. Default: - true if the cluster has kubectl enabled (which is the default).

Stability

deprecated

Attributes

bootstrap_enabled

(deprecated) Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke /etc/eks/bootstrap.sh) and associate it with the EKS cluster.

If you wish to provide a custom user data script, set this to false and manually invoke autoscalingGroup.addUserData().

Default

true

Stability

deprecated

Return type

Optional[bool]

bootstrap_options

(deprecated) Allows options for node bootstrapping through EC2 user data.

Stability

deprecated

Return type

Optional[BootstrapOptions]

map_role

(deprecated) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.

This cannot be explicitly set to true if the cluster has kubectl disabled.

Default
  • true if the cluster has kubectl enabled (which is the default).

Stability

deprecated

Return type

Optional[bool]