# CfnSecurityGroupProps

Properties for defining a `CfnSecurityGroup`.

Extends: CfnSecurityGroupProps
Used as props by: CfnSecurityGroup

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const cfnSecurityGroupProps: elasticache.CfnSecurityGroupProps = {
  description: 'description',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string (required) — A description for the cache security group.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A tag that can be added to an ElastiCache security group.

  Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.
