AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFormation::HookVersion

CloudFormation HookVersion

Publishes new or first hook version to AWS CloudFormation Registry.

Properties

4 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
SchemaHandlerPackage
string
RequiredCreate-onlyWrite-only
TypeName
string
RequiredCreate-only
ExecutionRoleArn
string
Create-only
LoggingConfig
LoggingConfig
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
IsDefaultVersionbooleanIndicates if this type version is the current default version
TypeArnstringThe Amazon Resource Name (ARN) of the type without the versionID.
VersionIdstringThe ID of the version of the type represented by this hook instance.
VisibilitystringThe scope at which the type is visible and usable in CloudFormation operations. Valid values include: PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE. PUBLIC: The type is publically...

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFormation::HookVersion

Resources:
  MyResource:
    Type: AWS::CloudFormation::HookVersion
    Properties:
      SchemaHandlerPackage: "value"
      TypeName: "my-typename"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudformation:DescribeTypecloudformation:DescribeTypeRegistrationcloudformation:RegisterTypeiam:PassRoles3:GetObjects3:ListBucketkms:Decrypt

read

cloudformation:DescribeType

delete

cloudformation:DeregisterTypecloudformation:DescribeType

list

cloudformation:ListTypescloudformation:ListTypeVersions

Get the CloudFormation Cheat Sheet

Everything you need to know about CloudFormation on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFormation
Properties9
Required2
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ExecutionRoleArnLoggingConfigSchemaHandlerPackageTypeName

External Links