Associates a security group with another VPC in the same Region. This enables you to use the same security group with network interfaces and instances in the specified VPC.
NoteThe VPC you want to associate the security group with must be in the same Region.
You can associate the security group with another VPC if your account owns the VPC or if the VPC was shared with you.
You must own the security group.
You cannot use this feature with default security groups.
You cannot use this feature with the default VPC.
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Type: Boolean
Required: No
A security group ID.
Type: String
Required: Yes
A VPC ID.
Type: String
Required: Yes
The following elements are returned by the service.
The ID of the request.
Type: String
The state of the association.
Type: String
Valid Values: associating | associated | association-failed | disassociating | disassociated | disassociation-failed
For information about the errors that are common to all actions, see Common client error codes.
See AlsoFor more information about using this API in one of the language-specific AWS SDKs, see the following:
AssociateRouteTable
AssociateSubnetCidrBlock
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4