1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudformation
  5. ModuleDefaultVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.cloudformation.ModuleDefaultVersion

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

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

Create ModuleDefaultVersion Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ModuleDefaultVersion(name: string, args?: ModuleDefaultVersionArgs, opts?: CustomResourceOptions);
@overload
def ModuleDefaultVersion(resource_name: str,
                         args: Optional[ModuleDefaultVersionArgs] = None,
                         opts: Optional[ResourceOptions] = None)

@overload
def ModuleDefaultVersion(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         arn: Optional[str] = None,
                         module_name: Optional[str] = None,
                         version_id: Optional[str] = None)
func NewModuleDefaultVersion(ctx *Context, name string, args *ModuleDefaultVersionArgs, opts ...ResourceOption) (*ModuleDefaultVersion, error)
public ModuleDefaultVersion(string name, ModuleDefaultVersionArgs? args = null, CustomResourceOptions? opts = null)
public ModuleDefaultVersion(String name, ModuleDefaultVersionArgs args)
public ModuleDefaultVersion(String name, ModuleDefaultVersionArgs args, CustomResourceOptions options)
type: aws-native:cloudformation:ModuleDefaultVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ModuleDefaultVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ModuleDefaultVersionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ModuleDefaultVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ModuleDefaultVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ModuleDefaultVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ModuleDefaultVersion Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ModuleDefaultVersion resource accepts the following input properties:

Arn string
The Amazon Resource Name (ARN) of the module version to set as the default version.
ModuleName string
The name of a module existing in the registry.
VersionId string
The ID of an existing version of the named module to set as the default.
Arn string
The Amazon Resource Name (ARN) of the module version to set as the default version.
ModuleName string
The name of a module existing in the registry.
VersionId string
The ID of an existing version of the named module to set as the default.
arn String
The Amazon Resource Name (ARN) of the module version to set as the default version.
moduleName String
The name of a module existing in the registry.
versionId String
The ID of an existing version of the named module to set as the default.
arn string
The Amazon Resource Name (ARN) of the module version to set as the default version.
moduleName string
The name of a module existing in the registry.
versionId string
The ID of an existing version of the named module to set as the default.
arn str
The Amazon Resource Name (ARN) of the module version to set as the default version.
module_name str
The name of a module existing in the registry.
version_id str
The ID of an existing version of the named module to set as the default.
arn String
The Amazon Resource Name (ARN) of the module version to set as the default version.
moduleName String
The name of a module existing in the registry.
versionId String
The ID of an existing version of the named module to set as the default.

Outputs

All input properties are implicitly available as output properties. Additionally, the ModuleDefaultVersion resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi