Uses of Class
software.amazon.awscdk.services.autoscaling.AutoScalingGroup.Builder
Package
Description
Amazon EC2 Auto Scaling Construct Library
-
Uses of AutoScalingGroup.Builder in software.amazon.awscdk.services.autoscaling
Modifier and TypeMethodDescriptionAutoScalingGroup.Builder.allowAllOutbound
(Boolean allowAllOutbound) Whether the instances can initiate connections to anywhere by default.AutoScalingGroup.Builder.associatePublicIpAddress
(Boolean associatePublicIpAddress) Whether instances in the Auto Scaling Group should have public IP addresses associated with them.AutoScalingGroup.Builder.autoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group.AutoScalingGroup.Builder.blockDevices
(List<? extends BlockDevice> blockDevices) Specifies how block devices are exposed to the instance.Default scaling cooldown for this AutoScalingGroup.static AutoScalingGroup.Builder
AutoScalingGroup.Builder.desiredCapacity
(Number desiredCapacity) Initial amount of instances in the fleet.AutoScalingGroup.Builder.groupMetrics
(List<? extends GroupMetrics> groupMetrics) Enable monitoring for group metrics, these metrics describe the group rather than any of its instances.AutoScalingGroup.Builder.healthCheck
(HealthCheck healthCheck) Configuration for health checks.AutoScalingGroup.Builder.ignoreUnmodifiedSizeProperties
(Boolean ignoreUnmodifiedSizeProperties) If the ASG has scheduled actions, don't reset unchanged group sizes.AutoScalingGroup.Builder.init
(CloudFormationInit init) Apply the given CloudFormation Init configuration to the instances in the AutoScalingGroup at startup.AutoScalingGroup.Builder.initOptions
(ApplyCloudFormationInitOptions initOptions) Use the given options for applying CloudFormation Init.AutoScalingGroup.Builder.instanceMonitoring
(Monitoring instanceMonitoring) Controls whether instances in this group are launched with detailed or basic monitoring.AutoScalingGroup.Builder.instanceType
(InstanceType instanceType) Type of instance to launch.Name of SSH keypair to grant access to instances.AutoScalingGroup.Builder.launchTemplate
(ILaunchTemplate launchTemplate) Launch template to use.AutoScalingGroup.Builder.machineImage
(IMachineImage machineImage) AMI to launch.AutoScalingGroup.Builder.maxCapacity
(Number maxCapacity) Maximum number of instances in the fleet.AutoScalingGroup.Builder.maxInstanceLifetime
(Duration maxInstanceLifetime) The maximum amount of time that an instance can be in service.AutoScalingGroup.Builder.minCapacity
(Number minCapacity) Minimum number of instances in the fleet.AutoScalingGroup.Builder.mixedInstancesPolicy
(MixedInstancesPolicy mixedInstancesPolicy) Mixed Instances Policy to use.AutoScalingGroup.Builder.newInstancesProtectedFromScaleIn
(Boolean newInstancesProtectedFromScaleIn) Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.AutoScalingGroup.Builder.notifications
(List<? extends NotificationConfiguration> notifications) Configure autoscaling group to send notifications about fleet changes to an SNS topic(s).AutoScalingGroup.Builder.notificationsTopic
(ITopic notificationsTopic) Deprecated.AutoScalingGroup.Builder.replacingUpdateMinSuccessfulInstancesPercent
(Number replacingUpdateMinSuccessfulInstancesPercent) Deprecated.Usesignals
insteadAutoScalingGroup.Builder.requireImdsv2
(Boolean requireImdsv2) Whether IMDSv2 should be required on launched instances.AutoScalingGroup.Builder.resourceSignalCount
(Number resourceSignalCount) Deprecated.Usesignals
instead.AutoScalingGroup.Builder.resourceSignalTimeout
(Duration resourceSignalTimeout) Deprecated.Usesignals
instead.An IAM role to associate with the instance profile assigned to this Auto Scaling Group.AutoScalingGroup.Builder.rollingUpdateConfiguration
(RollingUpdateConfiguration rollingUpdateConfiguration) Deprecated.UseupdatePolicy
insteadAutoScalingGroup.Builder.securityGroup
(ISecurityGroup securityGroup) Security group to launch the instances in.Configure waiting for signals during deployment.The maximum hourly price (in USD) to be paid for any Spot Instance launched to fulfill the request.AutoScalingGroup.Builder.terminationPolicies
(List<? extends TerminationPolicy> terminationPolicies) A policy or a list of policies that are used to select the instances to terminate.AutoScalingGroup.Builder.updatePolicy
(UpdatePolicy updatePolicy) What to do when an AutoScalingGroup's instance configuration is changed.AutoScalingGroup.Builder.updateType
(UpdateType updateType) Deprecated.UseupdatePolicy
insteadSpecific UserData to use.VPC to launch these instances in.AutoScalingGroup.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place instances within the VPC.
notifications