Skip to main content
Version: 0.0.25

Table: security_group

Table to manage AWS security groups. A security group controls the traffic that is allowed to reach and leave the resources that it is associated with.

Example

INSERT INTO security_group (description, group_name) VALUES ('sg description', 'sg_name');
SELECT * FROM security_group WHERE group_name = 'sg_name';
DELETE FROM security_group WHERE group_name = 'sg_name';

See

Columns

Optional description: string

Description for the security group

Optional group_id: string

AWS ID to identify the security group

group_name: string

Name for the security group

Optional owner_id: string

The Amazon Web Services account ID of the owner of the security group.

region: string

Region for the security group

security_group_rules: security_group_rule[]

List of rules associated to this security group

Optional vpc: vpc

Reference of the VPC associated to this security group

See

https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html