AWS::CloudFormation::HookDefaultVersionThe `AWS::CloudFormation::HookDefaultVersion` resource specifies the default version of a Hook. The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region . 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* . This resource type is not compatible with Guard and Lambda Hooks.
import { CfnHookDefaultVersion } from 'aws-cdk-lib/aws-cloudformation';Or use the module namespace:
import * as cloudformation from 'aws-cdk-lib/aws-cloudformation';
// cloudformation.CfnHookDefaultVersionConfiguration passed to the constructor as CfnHookDefaultVersionProps.
typeNameOptionalstringThe name of the Hook. You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
typeVersionArnOptionalstringThe version ID of the type configuration. You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
versionIdOptionalstringThe version ID of the type specified. You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cloudformationAWS::CloudFormation::HookDefaultVersion