security_group_egresses_list_only
Lists security_group_egresses
in a region or regions, for all properties use security_group_egresses
Overview
Name | security_group_egresses_list_only |
Type | Resource |
Description | Adds the specified outbound (egress) rule to a security group. An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 address range, the IP addresses that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see [Security group rules](https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html). You must specify exactly one of the following destinations: an IPv4 address range, an IPv6 address range, a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. To specify all types or all codes, use -1. Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur. |
Id | aws.ec2.security_group_egresses_list_only |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all security_group_egresses
in a region.
SELECT
region,
id
FROM aws.ec2.security_group_egresses_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the security_group_egresses_list_only
resource, see security_group_egresses