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 |
---|---|---|
group_description | string | A description for the security group. |
group_name | string | The name of the security group. |
vpc_id | string | The ID of the VPC for the security group. |
id | string | The group name or group ID depending on whether the SG is created in default or specific VPC |
security_group_ingress | array | The inbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group. |
security_group_egress | array | [VPC only] The outbound rules associated with the security group. There is a short interruption during which you cannot connect to the security group. |
tags | array | Any tags assigned to the security group. |
group_id | string | The group ID of the specified security group. |
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