Security Group
Resource Icon
Resource Overview
A security group controls the traffic that can reach and leave the associated resources. For instance, when a security group is attached to an EC2 instance, it manages the inbound and outbound traffic to and from that instance. Security groups can only be associated with resources within the VPC where the security group was created. When a VPC is created, it comes with a default security group. Additional security groups can be created for each VPC. There is no additional charge for using security groups.
Associated Resources
Parent Resources
Connected Resources
Resource Setting Values
description
: Description of Security Groupincluded_vpc_name
: The name of the VPC with the Security Groupingress
: Ingress rule name in Security Grouprule_name
: Ingress rule name in Security Groupdescription
: Description of Ingress rulesfrom_port
: Port number coming into the Ingress ruleto_port
: Outgoing port number through the Ingress ruleprotocol
: Protocol in Ingress Rule -tcp
,udp
,icmp
,all
cidr_block
: CIDR to apply the Ingress rule to
egress
: Egress rule name in Security Grouprule_name
: Egress rule name in Security Groupdescription
: Description of Egress rulesfrom_port
: Port number coming into the Egress ruleto_port
: Outgoing port number through the Egress ruleprotocol
: Protocol in Egress Rule -tcp
,udp
,icmp
,all
cidr_block
: CIDR to apply the Egress rule to