Amazon.AutoScaling.AmazonAutoScalingClient.CreateAutoScalingGroup C# (CSharp) Method

CreateAutoScalingGroup() public method

Creates an Auto Scaling group with the specified name and attributes.

If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Auto Scaling Groups in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CreateAutoScalingGroup ( CreateAutoScalingGroupRequest request ) : CreateAutoScalingGroupResponse
request CreateAutoScalingGroupRequest Container for the necessary parameters to execute the CreateAutoScalingGroup service method.
return CreateAutoScalingGroupResponse
        public CreateAutoScalingGroupResponse CreateAutoScalingGroup(CreateAutoScalingGroupRequest request)
        {
            var marshaller = new CreateAutoScalingGroupRequestMarshaller();
            var unmarshaller = CreateAutoScalingGroupResponseUnmarshaller.Instance;

            return Invoke<CreateAutoScalingGroupRequest,CreateAutoScalingGroupResponse>(request, marshaller, unmarshaller);
        }
AmazonAutoScalingClient