# CfnSubnetGroupProps

Properties for defining a `CfnSubnetGroup`.

Used as props by: [CfnSubnetGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dax.CfnSubnetGroup.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dax as dax } from 'aws-cdk-lib';
const cfnSubnetGroupProps: dax.CfnSubnetGroupProps = {
  subnetIds: ['subnetIds'],

  // the properties below are optional
  description: 'description',
  subnetGroupName: 'subnetGroupName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dax as dax

cfn_subnet_group_props = dax.CfnSubnetGroupProps(
    subnet_ids=["subnetIds"],

    # the properties below are optional
    description="description",
    subnet_group_name="subnetGroupName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dax.*;

CfnSubnetGroupProps cfnSubnetGroupProps = CfnSubnetGroupProps.builder()
        .subnetIds(List.of("subnetIds"))

        // the properties below are optional
        .description("description")
        .subnetGroupName("subnetGroupName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DAX;

var cfnSubnetGroupProps = new CfnSubnetGroupProps {
    SubnetIds = new [] { "subnetIds" },

    // the properties below are optional
    Description = "description",
    SubnetGroupName = "subnetGroupName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSubnetGroupProps := &CfnSubnetGroupProps{
	SubnetIds: []*string{
		jsii.String("subnetIds"),
	},

	// the properties below are optional
	Description: jsii.String("description"),
	SubnetGroupName: jsii.String("subnetGroupName"),
}
```

## Properties

- `description`: string — The description of the subnet group.

- `subnetGroupName`: string — The name of the subnet group.

- `subnetIds`: string[] (required) — A list of VPC subnet IDs for the subnet group.
