Get Security Groups For Vpc
ec2_get_security_groups_for_vpc | R Documentation |
Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC¶
Description¶
Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
Usage¶
ec2_get_security_groups_for_vpc(VpcId, NextToken, MaxResults, Filters,
DryRun)
Arguments¶
VpcId |
[required] The VPC ID where the security group can be used. |
NextToken |
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. |
MaxResults |
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination. |
Filters |
The filters. If using multiple filters, the results include security groups which match all filters.
|
DryRun |
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
|
Value¶
A list with the following syntax:
list(
NextToken = "string",
SecurityGroupForVpcs = list(
list(
Description = "string",
GroupName = "string",
OwnerId = "string",
GroupId = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
PrimaryVpcId = "string"
)
)
)
Request syntax¶
svc$get_security_groups_for_vpc(
VpcId = "string",
NextToken = "string",
MaxResults = 123,
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
),
DryRun = TRUE|FALSE
)