# CfnHookTypeConfigProps

Properties for defining a `CfnHookTypeConfig`.

Extends: CfnHookTypeConfigProps
Used as props by: CfnHookTypeConfig

- Source: Generated code
- Type last changed: v2.88.0 · 20 Jul 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnHookTypeConfigProps: cdk.CfnHookTypeConfigProps = {
  configuration: 'configuration',

  // the properties below are optional
  configurationAlias: 'configurationAlias',
  typeArn: 'typeArn',
  typeName: 'typeName',
};
```

## Properties

- `configuration`: string (required) — Specifies the activated Hook type configuration, in this AWS account and AWS Region .

  You must specify either `TypeName` and `Configuration` or `TypeArn` and `Configuration` .

- `configurationAlias`: string = "default" — An alias by which to refer to this configuration data.

  Defaults to `default` alias. Hook types currently support default configuration alias.

- `typeArn`: string — The Amazon Resource Number (ARN) for the Hook to set `Configuration` for.

  You must specify either `TypeName` and `Configuration` or `TypeArn` and `Configuration` .

- `typeName`: string — The unique name for your Hook.

  Specifies a three-part namespace for your Hook, with a recommended pattern of `Organization::Service::Hook` .

  You must specify either `TypeName` and `Configuration` or `TypeArn` and `Configuration` .
