Paws::EC2::DescribeSecurityGroups - Arguments for method DescribeSecurityGroups on Paws::EC2
This class represents the parameters used for calling the method DescribeSecurityGroups on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method DescribeSecurityGroups.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSecurityGroups.
As an example:
$service_obj->DescribeSecurityGroups(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
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.
DryRunOperation
UnauthorizedOperation
One or more filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.
description - The description of the security group.
description
egress.ip-permission.prefix-list-id - The ID (prefix) of the AWS service to which the security group allows access.
egress.ip-permission.prefix-list-id
group-id - The ID of the security group.
group-id
group-name - The name of the security group.
group-name
ip-permission.cidr - A CIDR range that has been granted permission.
ip-permission.cidr
ip-permission.from-port - The start of port range for the TCP and UDP protocols, or an ICMP type number.
ip-permission.from-port
ip-permission.group-id - The ID of a security group that has been granted permission.
ip-permission.group-id
ip-permission.group-name - The name of a security group that has been granted permission.
ip-permission.group-name
ip-permission.protocol - The IP protocol for the permission (tcp | udp | icmp or a protocol number).
ip-permission.protocol
tcp
udp
icmp
ip-permission.to-port - The end of port range for the TCP and UDP protocols, or an ICMP code.
ip-permission.to-port
ip-permission.user-id - The ID of an AWS account that has been granted permission.
ip-permission.user-id
owner-id - The AWS account ID of the owner of the security group.
owner-id
tag-key - The key of a tag assigned to the security group.
tag-key
tag-value - The value of a tag assigned to the security group.
tag-value
vpc-id - The ID of the VPC specified when the security group was created.
vpc-id
One or more security group IDs. Required for security groups in a nondefault VPC.
Default: Describes all your security groups.
[EC2-Classic and default VPC only] One or more security group names. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, use the group-name filter to describe security groups by name.
This class forms part of Paws, documenting arguments for method DescribeSecurityGroups in Paws::EC2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.