AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CloudFormation::HookTypeConfig

CfnHookTypeConfig

The `AWS::CloudFormation::HookTypeConfig` resource specifies the configuration of an activated Hook. For information about the CloudFormation registry, see [Managing extensions with the CloudFormation registry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html) in the *CloudFormation User Guide* .

Import

import { CfnHookTypeConfig } from 'aws-cdk-lib/aws-cloudformation';

Or use the module namespace:

import * as cloudformation from 'aws-cdk-lib/aws-cloudformation';
// cloudformation.CfnHookTypeConfig

Properties

Configuration passed to the constructor as CfnHookTypeConfigProps.

configurationRequired
string

Specifies the activated Hook type configuration, in this AWS account and AWS Region . You must specify either `TypeName` and `Configuration` or `TypeArn` and `Configuration` .

configurationAliasOptional
string

An alias by which to refer to this configuration data. Defaults to `default` alias. Hook types currently support default configuration alias.

Default: - "default"

typeArnOptional
string

The Amazon Resource Number (ARN) for the Hook to set `Configuration` for. You must specify either `TypeName` and `Configuration` or `TypeArn` and `Configuration` .

typeNameOptional
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` .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter