# CfnKeyGroupProps

Properties for defining a `CfnKeyGroup`.

Used as props by: [CfnKeyGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnKeyGroup.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_cloudfront as cloudfront } from 'aws-cdk-lib';
const cfnKeyGroupProps: cloudfront.CfnKeyGroupProps = {
  keyGroupConfig: {
    items: ['items'],
    name: 'name',

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

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_cloudfront as cloudfront

cfn_key_group_props = cloudfront.CfnKeyGroupProps(
    key_group_config=cloudfront.CfnKeyGroup.KeyGroupConfigProperty(
        items=["items"],
        name="name",

        # the properties below are optional
        comment="comment"
    )
)
```

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.cloudfront.*;

CfnKeyGroupProps cfnKeyGroupProps = CfnKeyGroupProps.builder()
        .keyGroupConfig(KeyGroupConfigProperty.builder()
                .items(List.of("items"))
                .name("name")

                // the properties below are optional
                .comment("comment")
                .build())
        .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.CloudFront;

var cfnKeyGroupProps = new CfnKeyGroupProps {
    KeyGroupConfig = new KeyGroupConfigProperty {
        Items = new [] { "items" },
        Name = "name",

        // the properties below are optional
        Comment = "comment"
    }
};
```

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"

cfnKeyGroupProps := &CfnKeyGroupProps{
	KeyGroupConfig: &KeyGroupConfigProperty{
		Items: []*string{
			jsii.String("items"),
		},
		Name: jsii.String("name"),

		// the properties below are optional
		Comment: jsii.String("comment"),
	},
}
```

## Properties

- `keyGroupConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKeyGroup.KeyGroupConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnKeyGroup.KeyGroupConfigProperty.html) (required) — The key group configuration.
