AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFormation::HookDefaultVersion

CloudFormation HookDefaultVersion

Set a version as default version for a hook in CloudFormation Registry.

Properties

3 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
TypeName
string
TypeVersionArn
string
VersionId
string

Return Values

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

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion

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::HookDefaultVersion

Resources:
  MyResource:
    Type: AWS::CloudFormation::HookDefaultVersion
    Properties:

Required IAM Permissions

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

create

cloudformation:SetTypeDefaultVersion

read

cloudformation:DescribeType

update

cloudformation:SetTypeDefaultVersion

delete

list

cloudformation:ListTypes

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
Properties4
Required0
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

External Links