1. Packages
  2. AWS Native
  3. API Docs
  4. cloudformation
  5. getModuleVersion

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.107.0 published on Wednesday, May 22, 2024 by Pulumi

aws-native.cloudformation.getModuleVersion

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.107.0 published on Wednesday, May 22, 2024 by Pulumi

    A module that has been registered in the CloudFormation registry.

    Using getModuleVersion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getModuleVersion(args: GetModuleVersionArgs, opts?: InvokeOptions): Promise<GetModuleVersionResult>
    function getModuleVersionOutput(args: GetModuleVersionOutputArgs, opts?: InvokeOptions): Output<GetModuleVersionResult>
    def get_module_version(arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetModuleVersionResult
    def get_module_version_output(arn: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetModuleVersionResult]
    func LookupModuleVersion(ctx *Context, args *LookupModuleVersionArgs, opts ...InvokeOption) (*LookupModuleVersionResult, error)
    func LookupModuleVersionOutput(ctx *Context, args *LookupModuleVersionOutputArgs, opts ...InvokeOption) LookupModuleVersionResultOutput

    > Note: This function is named LookupModuleVersion in the Go SDK.

    public static class GetModuleVersion 
    {
        public static Task<GetModuleVersionResult> InvokeAsync(GetModuleVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetModuleVersionResult> Invoke(GetModuleVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetModuleVersionResult> getModuleVersion(GetModuleVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:cloudformation:getModuleVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the module.
    Arn string
    The Amazon Resource Name (ARN) of the module.
    arn String
    The Amazon Resource Name (ARN) of the module.
    arn string
    The Amazon Resource Name (ARN) of the module.
    arn str
    The Amazon Resource Name (ARN) of the module.
    arn String
    The Amazon Resource Name (ARN) of the module.

    getModuleVersion Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the module.
    Description string
    The description of the registered module.
    DocumentationUrl string
    The URL of a page providing detailed documentation for this module.
    IsDefaultVersion bool
    Indicator of whether this module version is the current default version
    Schema string
    The schema defining input parameters to and resources generated by the module.
    TimeCreated string
    The time that the specified module version was registered.
    VersionId string
    The version ID of the module represented by this module instance.
    Visibility Pulumi.AwsNative.CloudFormation.ModuleVersionVisibility

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    Arn string
    The Amazon Resource Name (ARN) of the module.
    Description string
    The description of the registered module.
    DocumentationUrl string
    The URL of a page providing detailed documentation for this module.
    IsDefaultVersion bool
    Indicator of whether this module version is the current default version
    Schema string
    The schema defining input parameters to and resources generated by the module.
    TimeCreated string
    The time that the specified module version was registered.
    VersionId string
    The version ID of the module represented by this module instance.
    Visibility ModuleVersionVisibility

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    arn String
    The Amazon Resource Name (ARN) of the module.
    description String
    The description of the registered module.
    documentationUrl String
    The URL of a page providing detailed documentation for this module.
    isDefaultVersion Boolean
    Indicator of whether this module version is the current default version
    schema String
    The schema defining input parameters to and resources generated by the module.
    timeCreated String
    The time that the specified module version was registered.
    versionId String
    The version ID of the module represented by this module instance.
    visibility ModuleVersionVisibility

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    arn string
    The Amazon Resource Name (ARN) of the module.
    description string
    The description of the registered module.
    documentationUrl string
    The URL of a page providing detailed documentation for this module.
    isDefaultVersion boolean
    Indicator of whether this module version is the current default version
    schema string
    The schema defining input parameters to and resources generated by the module.
    timeCreated string
    The time that the specified module version was registered.
    versionId string
    The version ID of the module represented by this module instance.
    visibility ModuleVersionVisibility

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    arn str
    The Amazon Resource Name (ARN) of the module.
    description str
    The description of the registered module.
    documentation_url str
    The URL of a page providing detailed documentation for this module.
    is_default_version bool
    Indicator of whether this module version is the current default version
    schema str
    The schema defining input parameters to and resources generated by the module.
    time_created str
    The time that the specified module version was registered.
    version_id str
    The version ID of the module represented by this module instance.
    visibility ModuleVersionVisibility

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    arn String
    The Amazon Resource Name (ARN) of the module.
    description String
    The description of the registered module.
    documentationUrl String
    The URL of a page providing detailed documentation for this module.
    isDefaultVersion Boolean
    Indicator of whether this module version is the current default version
    schema String
    The schema defining input parameters to and resources generated by the module.
    timeCreated String
    The time that the specified module version was registered.
    versionId String
    The version ID of the module represented by this module instance.
    visibility "PRIVATE"

    The scope at which the type is visible and usable in CloudFormation operations.

    The only allowed value at present is:

    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.

    Supporting Types

    ModuleVersionVisibility

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.107.0 published on Wednesday, May 22, 2024 by Pulumi