AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudformation.ModuleDefaultVersion
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 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 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 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 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 String
- The unique name of the resource.
- args 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
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.
- Module
Name string - The name of a module existing in the registry.
- Version
Id 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.
- Module
Name string - The name of a module existing in the registry.
- Version
Id 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.
- module
Name String - The name of a module existing in the registry.
- version
Id 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.
- module
Name string - The name of a module existing in the registry.
- version
Id 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.
- module
Name String - The name of a module existing in the registry.
- version
Id 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
AWS Native is in preview. AWS Classic is fully supported.