AWS SDK for .NET Documentation
CreateAutoScalingGroupRequest Class
AmazonAmazon.AutoScaling.ModelCreateAutoScalingGroupRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateAutoScalingGroup operation.

Creates a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.

NOTE: The Auto Scaling group name must be unique within the scope of your AWS account, and under the quota of Auto Scaling groups allowed for your account.

Declaration Syntax
C#
public class CreateAutoScalingGroupRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateAutoScalingGroupRequest()()()()
Initializes a new instance of the CreateAutoScalingGroupRequest class

AutoScalingGroupName
The name of the Auto Scaling group.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


AvailabilityZones
A list of Availability Zones for the Auto Scaling group. This is required unless you have specified the subnets.

Constraints:

Length
1 -


DefaultCooldown
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

DesiredCapacity
The number of Amazon EC2 instances that should be running in the group.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HealthCheckGracePeriod
Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.

HealthCheckType
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are EC2 or ELB.

Constraints:

Length
1 - 32
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


LaunchConfigurationName
The name of the launch configuration to use with the Auto Scaling group.

Constraints:

Length
1 - 1600
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


LoadBalancerNames
A list of load balancers to use.

MaxSize
The maximum size of the Auto Scaling group.

MinSize
The minimum size of the Auto Scaling group.

PlacementGroup
Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see Using Cluster Instances

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Tags
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key=value, value=value, propagate=true or false. Value and propagate are optional parameters.

TerminationPolicies
A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VPCZoneIdentifier
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


WithAutoScalingGroupName(String)
Sets the AutoScalingGroupName property

WithAvailabilityZones(array<String>[]()[][])
Adds elements to the AvailabilityZones collection

WithAvailabilityZones(IEnumerable<(Of <<'(String>)>>))
Adds elements to the AvailabilityZones collection

WithDefaultCooldown(Int32)
Sets the DefaultCooldown property

WithDesiredCapacity(Int32)
Sets the DesiredCapacity property

WithHealthCheckGracePeriod(Int32)
Sets the HealthCheckGracePeriod property

WithHealthCheckType(String)
Sets the HealthCheckType property

WithLaunchConfigurationName(String)
Sets the LaunchConfigurationName property

WithLoadBalancerNames(array<String>[]()[][])
Adds elements to the LoadBalancerNames collection

WithLoadBalancerNames(IEnumerable<(Of <<'(String>)>>))
Adds elements to the LoadBalancerNames collection

WithMaxSize(Int32)
Sets the MaxSize property

WithMinSize(Int32)
Sets the MinSize property

WithPlacementGroup(String)
Sets the PlacementGroup property

WithTags(array<Tag>[]()[][])
Adds elements to the Tags collection

WithTags(IEnumerable<(Of <<'(Tag>)>>))
Adds elements to the Tags collection

WithTerminationPolicies(array<String>[]()[][])
Adds elements to the TerminationPolicies collection

WithTerminationPolicies(IEnumerable<(Of <<'(String>)>>))
Adds elements to the TerminationPolicies collection

WithVPCZoneIdentifier(String)
Sets the VPCZoneIdentifier property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateAutoScalingGroupRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.24.0 (1.5.24.0)