Container for the parameters to the AttachInstances operation.
Attaches one or more Amazon EC2 instances to an existing Auto Scaling group. After the instance(s) is attached, it becomes a part of the Auto Scaling group.
For more information, see Attach Amazon EC2 Instance(s) to Your Existing Auto Scaling Group in the Auto Scaling Developer Guide .
| C# |
public class AttachInstancesRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AttachInstancesRequest()()()() | Initializes a new instance of the AttachInstancesRequest class | |
| AutoScalingGroupName |
The name of the Auto Scaling group to which to attach the specified instance(s).
Constraints: | |
| Equals(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.) | |
| InstanceIds |
One or more IDs of the Amazon EC2 instances to attach to the specified Auto Scaling group. You must specify at least one instance ID.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithAutoScalingGroupName(String) | Obsolete.
Sets the AutoScalingGroupName property
| |
| WithInstanceIds(array<String>[]()[][]) | Obsolete.
Adds elements to the InstanceIds collection
| |
| WithInstanceIds(IEnumerable<(Of <<'(String>)>>)) | Obsolete.
Adds elements to the InstanceIds collection
|
| Object | ||
| AmazonWebServiceRequest | ||
| AttachInstancesRequest | ||