Skip to main content

aws.ec2.securitygroup

Supported Platform

  • aws

Description

AWS EC2 Security Group

The aws.ec2.securitygroup resource provides fields for assessing the configuration of security groups within an AWS account. For usage see aws.ec2 resource.

Fields

IDTYPEDESCRIPTION
arnstringsecurity group arn
idstringsecurity group id
namestringname of the security group
descriptionstringdescription of the security group
tagsmap[string]stringa map of tags associated with the security group
vpcaws.vpcvpc associated with the security group
ipPermissions[]aws.ec2.securitygroup.ippermissionip permissions (ingress) for the security group
ipPermissionsEgress[]aws.ec2.securitygroup.ippermissionip permissions (egress) for the security group
regionstringregion associated with the security group
isAttachedToNetworkInterfaceboolbool to denote if security group is attached to Amazon Elastic Compute Cloud