security_groups_list_only
Lists security_groups
in a region or regions, for all properties use security_groups
Overview
Name | security_groups_list_only |
Type | Resource |
Description | Resource Type definition for AWS::EC2::SecurityGroup |
Id | aws.ec2.security_groups_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The group name or group ID depending on whether the SG is created in default or specific VPC |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all security_groups
in a region.
SELECT
region,
id
FROM aws.ec2.security_groups_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the security_groups_list_only
resource, see security_groups