GroupState constructor

const GroupState({
  1. Input<String?>? arn,
  2. Input<GroupAvailabilityZoneDistribution?>? availabilityZoneDistribution,
  3. Input<List<String>?>? availabilityZones,
  4. Input<bool?>? capacityRebalance,
  5. Input<GroupCapacityReservationSpecification?>? capacityReservationSpecification,
  6. Input<String?>? context,
  7. Input<int?>? defaultCooldown,
  8. Input<int?>? defaultInstanceWarmup,
  9. Input<int?>? desiredCapacity,
  10. Input<String?>? desiredCapacityType,
  11. Input<List<Metric>?>? enabledMetrics,
  12. Input<bool?>? forceDelete,
  13. Input<bool?>? forceDeleteWarmPool,
  14. Input<int?>? healthCheckGracePeriod,
  15. Input<String?>? healthCheckType,
  16. Input<bool?>? ignoreFailedScalingActivities,
  17. Input<List<GroupInitialLifecycleHook>?>? initialLifecycleHooks,
  18. Input<GroupInstanceLifecyclePolicy?>? instanceLifecyclePolicy,
  19. Input<GroupInstanceMaintenancePolicy?>? instanceMaintenancePolicy,
  20. Input<GroupInstanceRefresh?>? instanceRefresh,
  21. Input? launchConfiguration,
  22. Input<GroupLaunchTemplate?>? launchTemplate,
  23. Input<List<String>?>? loadBalancers,
  24. Input<int?>? maxInstanceLifetime,
  25. Input<int?>? maxSize,
  26. Input? metricsGranularity,
  27. Input<int?>? minElbCapacity,
  28. Input<int?>? minSize,
  29. Input<GroupMixedInstancesPolicy?>? mixedInstancesPolicy,
  30. Input<String?>? name,
  31. Input<String?>? namePrefix,
  32. Input? placementGroup,
  33. Input<int?>? predictedCapacity,
  34. Input<bool?>? protectFromScaleIn,
  35. Input<String?>? region,
  36. Input<String?>? serviceLinkedRoleArn,
  37. Input<List<String>?>? suspendedProcesses,
  38. Input<List<GroupTag>?>? tags,
  39. Input<List<String>?>? targetGroupArns,
  40. Input<List<String>?>? terminationPolicies,
  41. Input<List<GroupTrafficSource>?>? trafficSources,
  42. Input<List<String>?>? vpcZoneIdentifiers,
  43. Input<String?>? waitForCapacityTimeout,
  44. Input<int?>? waitForElbCapacity,
  45. Input<GroupWarmPool?>? warmPool,
  46. Input<int?>? warmPoolSize,
})

Creates a new GroupState. arn ARN for this Auto Scaling Group availabilityZoneDistribution The instance capacity distribution across Availability Zones. See availabilityZoneDistribution Block below for more details. availabilityZones A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the vpcZoneIdentifier attribute, or for attaching a network interface when an existing network interface ID is specified in a launch template. Conflicts with vpcZoneIdentifier. capacityRebalance Whether capacity rebalance is enabled. Otherwise, capacity rebalance is disabled. capacityReservationSpecification The capacity reservation specification for the Auto Scaling group allows you to prioritize launching into On-Demand Capacity Reservations. See capacityReservationSpecification Block below for more details. context Reserved. defaultCooldown Amount of time, in seconds, after a scaling activity completes before another scaling activity can start. defaultInstanceWarmup Amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data. Set this value equal to the amount of time that it takes for resource consumption to become stable after an instance reaches the InService state. (See Set the default instance warmup for an Auto Scaling group) desiredCapacity Number of Amazon EC2 instances that desiredCapacityType The unit of measurement for the value specified for desiredCapacity. Supported for attribute-based instance type selection only. Valid values: "units", "vcpu", "memory-mib". enabledMetrics List of metrics to collect. The allowed values are defined by the underlying AWS API. forceDelete Allows deleting the Auto Scaling Group without waiting forceDeleteWarmPool Allows deleting the Auto Scaling Group without waiting for all instances in the warm pool to terminate. healthCheckGracePeriod Time (in seconds) after instance comes into service before checking health. healthCheckType "EC2" or "ELB". Controls how health checking is done. ignoreFailedScalingActivities Whether to ignore failed Auto Scaling scaling activities while waiting for capacity. The default is false -- failed scaling activities cause errors to be returned. initialLifecycleHooks One or more instanceLifecyclePolicy If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below. instanceMaintenancePolicy If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below. instanceRefresh If this block is configured, start an launchConfiguration Name of the launch configuration to use. launchTemplate Nested argument with Launch template specification to use to launch instances. See launchTemplate Block below for more details. loadBalancers List of elastic load balancer names to add to the autoscaling maxInstanceLifetime Maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds. maxSize Maximum size of the Auto Scaling Group. metricsGranularity Granularity to associate with the metrics to collect. The only valid value is 1Minute. Default is 1Minute. minElbCapacity Setting this causes Pulumi to wait for minSize Minimum size of the Auto Scaling Group. mixedInstancesPolicy Configuration block containing settings to define launch targets for Auto Scaling groups. See mixedInstancesPolicy Block below for more details. name Name of the Auto Scaling Group. By default generated by Pulumi. Conflicts with namePrefix. namePrefix Creates a unique name beginning with the specified placementGroup Name of the placement group into which you'll launch your instances, if any. predictedCapacity Predicted capacity of the group. protectFromScaleIn Whether newly launched instances region Region where this resource will be managed. Defaults to the Region set in the provider configuration. serviceLinkedRoleArn ARN of the service-linked role that the ASG will use to call other AWS services suspendedProcesses List of processes to suspend for the Auto Scaling Group. The allowed values are Launch, Terminate, HealthCheck, ReplaceUnhealthy, AZRebalance, AlarmNotification, ScheduledActions, AddToLoadBalancer, InstanceRefresh. tags Configuration block(s) containing resource tags. See tag Block below for more details. targetGroupArns Set of aws.lb.TargetGroup ARNs, for use with Application or Network Load Balancing. To remove all target group attachments an empty list should be specified. terminationPolicies 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. trafficSources Attaches one or more traffic sources to the specified Auto Scaling group. vpcZoneIdentifiers List of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with availabilityZones. waitForCapacityTimeout Maximum waitForElbCapacity Setting this will cause Pulumi to wait warmPool If this block is configured, add a Warm Pool warmPoolSize Current size of the warm pool.

Implementation

const GroupState({
  this.arn,
  this.availabilityZoneDistribution,
  this.availabilityZones,
  this.capacityRebalance,
  this.capacityReservationSpecification,
  this.context,
  this.defaultCooldown,
  this.defaultInstanceWarmup,
  this.desiredCapacity,
  this.desiredCapacityType,
  this.enabledMetrics,
  this.forceDelete,
  this.forceDeleteWarmPool,
  this.healthCheckGracePeriod,
  this.healthCheckType,
  this.ignoreFailedScalingActivities,
  this.initialLifecycleHooks,
  this.instanceLifecyclePolicy,
  this.instanceMaintenancePolicy,
  this.instanceRefresh,
  this.launchConfiguration,
  this.launchTemplate,
  this.loadBalancers,
  this.maxInstanceLifetime,
  this.maxSize,
  this.metricsGranularity,
  this.minElbCapacity,
  this.minSize,
  this.mixedInstancesPolicy,
  this.name,
  this.namePrefix,
  this.placementGroup,
  this.predictedCapacity,
  this.protectFromScaleIn,
  this.region,
  this.serviceLinkedRoleArn,
  this.suspendedProcesses,
  this.tags,
  this.targetGroupArns,
  this.terminationPolicies,
  this.trafficSources,
  this.vpcZoneIdentifiers,
  this.waitForCapacityTimeout,
  this.waitForElbCapacity,
  this.warmPool,
  this.warmPoolSize,
});