---
type: resource-type
title: SecurityGroupVpcAssociation
description: aws resource type AWS::EC2::SecurityGroupVpcAssociation
name: SecurityGroupVpcAssociation
lexicon: aws
resource_type: AWS::EC2::SecurityGroupVpcAssociation
---
`AWS::EC2::SecurityGroupVpcAssociation`, a resource type of the aws lexicon.

## Properties

- `GroupId` (`string`, required): The group ID of the specified security group.
- `VpcId` (`string`, required): The ID of the VPC in the security group vpc association.
- `State` (`SecurityGroupVpcAssociation_SecurityGroupVpcAssociationState`, optional): The state of the security group vpc association.
- `StateReason` (`string`, optional): The reason for the state of the security group vpc association.
- `VpcOwnerId` (`string`, optional): The owner of the VPC in the security group vpc association.

## Attributes

- `State`
- `StateReason`
- `VpcOwnerId`
