AutoScalingGroupOptions

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

Bases: object

__init__(*, bootstrap_enabled=None, bootstrap_options=None, map_role=None)

Options for adding an AutoScalingGroup as capacity.

Parameters
  • bootstrap_enabled (Optional[bool]) – 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]) – Allows options for node bootstrapping through EC2 user data.

  • map_role (Optional[bool]) – 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 :stability: deprecated

Attributes

bootstrap_enabled

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 :default: true

stability :stability: deprecated

Return type

Optional[bool]

bootstrap_options

Allows options for node bootstrapping through EC2 user data.

stability :stability: deprecated

Return type

Optional[BootstrapOptions]

map_role

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 :default: - true if the cluster has kubectl enabled (which is the default).

stability :stability: deprecated

Return type

Optional[bool]