AWS SDK for .NET Documentation
WithGroupId Method (list)
AmazonAmazon.EC2.ModelModifyInstanceAttributeRequestWithGroupId(array<String>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the new security groups that an instance belongs to.
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public ModifyInstanceAttributeRequest WithGroupId(
	params string[] list
list (array<String>[]()[][])
This is applicable only to instances running in a VPC. Use this parameter when you want to change the security groups an instance is in. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (