AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFormation::ModuleDefaultVersion

CloudFormation ModuleDefaultVersion

A module that has been registered in the CloudFormation registry as the default version

Properties

3 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Arn
string
Create-only
ModuleName
string
Create-onlyWrite-only
VersionId
string
Create-onlyWrite-only

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

Resources:
  MyResource:
    Type: AWS::CloudFormation::ModuleDefaultVersion
    Properties:

Required IAM Permissions

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

create

cloudformation:DescribeTypecloudformation:SetTypeDefaultVersion

delete

read

cloudformation:DescribeType

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

Supported Operations

CreateDeleteReadList

Immutable After Creation

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

ArnModuleNameVersionId

External Links