

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::EC2::SpotFleet GroupIdentifier
<a name="aws-properties-ec2-spotfleet-groupidentifier"></a>

Describes a security group.

## Syntax
<a name="aws-properties-ec2-spotfleet-groupidentifier-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-ec2-spotfleet-groupidentifier-syntax.json"></a>

```
{
  "[GroupId](#cfn-ec2-spotfleet-groupidentifier-groupid)" : {{String}}
}
```

### YAML
<a name="aws-properties-ec2-spotfleet-groupidentifier-syntax.yaml"></a>

```
  [GroupId](#cfn-ec2-spotfleet-groupidentifier-groupid): {{String}}
```

## Properties
<a name="aws-properties-ec2-spotfleet-groupidentifier-properties"></a>

`GroupId`  <a name="cfn-ec2-spotfleet-groupidentifier-groupid"></a>
The ID of the security group.  
*Required*: Yes  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)