Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v0.44.0
AutoscalingGroup
autoscaling.aws.upbound.io
AutoscalingGroup
upbound/provider-aws@v0.44.0autoscaling.aws.upbound.io

AutoscalingGroup is the Schema for the AutoscalingGroups API. Provides an Auto Scaling Group resource.

Type

CRD

Group

autoscaling.aws.upbound.io

Version

v1beta1

apiVersion: autoscaling.aws.upbound.io/v1beta1

kind: AutoscalingGroup

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

AutoscalingGroupSpec defines the desired state of AutoscalingGroup

forProvider
requiredobject
requiredobject

No description provided.

array

List of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with vpc_zone_identifier argument. Conflicts with vpc_zone_identifier.

context
string
array

List of metrics to collect. The allowed values are defined by the underlying AWS API.

array

One or more Lifecycle Hooks to attach to the Auto Scaling Group before instances are launched. The syntax is exactly the same as the separate aws_autoscaling_lifecycle_hook resource, without the autoscaling_group_name attribute. Please note that this will only work when creating a new Auto Scaling Group. For all other use-cases, please use aws_autoscaling_lifecycle_hook resource.

array

If this block is configured, start an Instance Refresh when this Auto Scaling Group is updated. Defined below.

array

Override default parameters for Instance Refresh.

array

List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be 100.

strategy
string
array

Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of launch_configuration, launch_template, or mixed_instances_policy.

object

Reference to a LaunchConfiguration in autoscaling to populate launchConfiguration.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LaunchConfiguration in autoscaling to populate launchConfiguration.

policy
object
object

Policies for selection.

resolve
string
array

Nested argument with Launch template specification to use to launch instances. See Launch Template below for more details.

id
string
idRef
object
object

Reference to a LaunchTemplate in ec2 to populate id.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LaunchTemplate in ec2 to populate id.

policy
object
object

Policies for selection.

resolve
string
name
string
version
string
maxSize
number
minSize
number
array

Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.

array

Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below.

array

Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below.

array

Nested argument defines the Launch Template. Defined below.

object

Reference to a LaunchTemplate in ec2 to populate launchTemplateId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LaunchTemplate in ec2 to populate launchTemplateId.

policy
object
object

Policies for selection.

resolve
string
version
string
array

List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below.

array

Override the instance type in the Launch Template with instance types that satisfy the requirements.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
array

Nested argument defines the Launch Template. Defined below.

object

Reference to a LaunchTemplate in ec2 to populate launchTemplateId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a LaunchTemplate in ec2 to populate launchTemplateId.

policy
object
object

Policies for selection.

resolve
string
version
string
object

Reference to a PlacementGroup in ec2 to populate placementGroup.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a PlacementGroup in ec2 to populate placementGroup.

policy
object
object

Policies for selection.

resolve
string
region
requiredstring
object

Reference to a Role in iam to populate serviceLinkedRoleArn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate serviceLinkedRoleArn.

policy
object
object

Policies for selection.

resolve
string
array

List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer, InstanceRefresh. Note that if you suspend either the Launch or Terminate process types, it can prevent your Auto Scaling Group from functioning properly.

tag
array
array

Configuration block(s) containing resource tags. Conflicts with tags. See Tag below for more details.

key
string
value
string
tags
array
array

Key-value map of resource tags.

array

List of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are OldestInstance, NewestInstance, OldestLaunchConfiguration, ClosestToNextInstanceHour, OldestLaunchTemplate, AllocationStrategy, Default. Additionally, the ARN of a Lambda function can be specified for custom termination policies.

array

List of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with availability_zones.

array

References to Subnet in ec2 to populate vpcZoneIdentifier.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of Subnet in ec2 to populate vpcZoneIdentifier.

policy
object
object

Policies for selection.

resolve
string
array

If this block is configured, add a Warm Pool to the specified Auto Scaling group. Defined below

array

Whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.

minSize
number
poolState
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

List of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with vpc_zone_identifier argument. Conflicts with vpc_zone_identifier.

context
string
array

List of metrics to collect. The allowed values are defined by the underlying AWS API.

array

One or more Lifecycle Hooks to attach to the Auto Scaling Group before instances are launched. The syntax is exactly the same as the separate aws_autoscaling_lifecycle_hook resource, without the autoscaling_group_name attribute. Please note that this will only work when creating a new Auto Scaling Group. For all other use-cases, please use aws_autoscaling_lifecycle_hook resource.

array

If this block is configured, start an Instance Refresh when this Auto Scaling Group is updated. Defined below.

array

Override default parameters for Instance Refresh.

array

List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be 100.

strategy
string
array

Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of launch_configuration, launch_template, or mixed_instances_policy.

array

Nested argument with Launch template specification to use to launch instances. See Launch Template below for more details.

name
string
version
string
maxSize
number
minSize
number
array

Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.

array

Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below.

array

Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below.

array

Nested argument defines the Launch Template. Defined below.

array

List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below.

array

Override the instance type in the Launch Template with instance types that satisfy the requirements.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
array

Nested argument defines the Launch Template. Defined below.

array

List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer, InstanceRefresh. Note that if you suspend either the Launch or Terminate process types, it can prevent your Auto Scaling Group from functioning properly.

tag
array
array

Configuration block(s) containing resource tags. Conflicts with tags. See Tag below for more details.

key
string
value
string
tags
array
array

Key-value map of resource tags.

array

List of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are OldestInstance, NewestInstance, OldestLaunchConfiguration, ClosestToNextInstanceHour, OldestLaunchTemplate, AllocationStrategy, Default. Additionally, the ARN of a Lambda function can be specified for custom termination policies.

array

If this block is configured, add a Warm Pool to the specified Auto Scaling group. Defined below

array

Whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.

minSize
number
poolState
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

AutoscalingGroupStatus defines the observed state of AutoscalingGroup.

object

No description provided.

arn
string
array

List of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with vpc_zone_identifier argument. Conflicts with vpc_zone_identifier.

context
string
array

List of metrics to collect. The allowed values are defined by the underlying AWS API.

id
string
array

One or more Lifecycle Hooks to attach to the Auto Scaling Group before instances are launched. The syntax is exactly the same as the separate aws_autoscaling_lifecycle_hook resource, without the autoscaling_group_name attribute. Please note that this will only work when creating a new Auto Scaling Group. For all other use-cases, please use aws_autoscaling_lifecycle_hook resource.

array

If this block is configured, start an Instance Refresh when this Auto Scaling Group is updated. Defined below.

array

Override default parameters for Instance Refresh.

array

List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be 100.

strategy
string
array

Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of launch_configuration, launch_template, or mixed_instances_policy.

array

Nested argument with Launch template specification to use to launch instances. See Launch Template below for more details.

id
string
name
string
version
string
array

List of elastic load balancer names to add to the autoscaling group names. Only valid for classic load balancers. For ALBs, use target_group_arns instead.

maxSize
number
minSize
number
array

Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.

array

Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below.

array

Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below.

array

Nested argument defines the Launch Template. Defined below.

array

List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below.

array

Override the instance type in the Launch Template with instance types that satisfy the requirements.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
array

Nested argument defines the Launch Template. Defined below.

array

List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer, InstanceRefresh. Note that if you suspend either the Launch or Terminate process types, it can prevent your Auto Scaling Group from functioning properly.

tag
array
array

Configuration block(s) containing resource tags. Conflicts with tags. See Tag below for more details.

key
string
value
string
tags
array
array

Key-value map of resource tags.

array

Set of aws_alb_target_group ARNs, for use with Application or Network Load Balancing.

array

List of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are OldestInstance, NewestInstance, OldestLaunchConfiguration, ClosestToNextInstanceHour, OldestLaunchTemplate, AllocationStrategy, Default. Additionally, the ARN of a Lambda function can be specified for custom termination policies.

array

List of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with availability_zones.

array

If this block is configured, add a Warm Pool to the specified Auto Scaling group. Defined below

array

Whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.

minSize
number
poolState
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.