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

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.cloudformation.getResourceVersion

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    A resource that has been registered in the CloudFormation Registry.

    Using getResourceVersion

    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 getResourceVersion(args: GetResourceVersionArgs, opts?: InvokeOptions): Promise<GetResourceVersionResult>
    function getResourceVersionOutput(args: GetResourceVersionOutputArgs, opts?: InvokeOptions): Output<GetResourceVersionResult>
    def get_resource_version(arn: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetResourceVersionResult
    def get_resource_version_output(arn: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetResourceVersionResult]
    func LookupResourceVersion(ctx *Context, args *LookupResourceVersionArgs, opts ...InvokeOption) (*LookupResourceVersionResult, error)
    func LookupResourceVersionOutput(ctx *Context, args *LookupResourceVersionOutputArgs, opts ...InvokeOption) LookupResourceVersionResultOutput

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

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

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    Arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    arn String
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    arn str
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    arn String
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource

    getResourceVersion Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    IsDefaultVersion bool
    Indicates if this type version is the current default version
    ProvisioningType Pulumi.AwsNative.CloudFormation.ResourceVersionProvisioningType
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    TypeArn string
    The Amazon Resource Name (ARN) of the type without the versionID.
    VersionId string
    The ID of the version of the type represented by this resource instance.
    Visibility Pulumi.AwsNative.CloudFormation.ResourceVersionVisibility

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    Arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    IsDefaultVersion bool
    Indicates if this type version is the current default version
    ProvisioningType ResourceVersionProvisioningType
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    TypeArn string
    The Amazon Resource Name (ARN) of the type without the versionID.
    VersionId string
    The ID of the version of the type represented by this resource instance.
    Visibility ResourceVersionVisibility

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    arn String
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    isDefaultVersion Boolean
    Indicates if this type version is the current default version
    provisioningType ResourceVersionProvisioningType
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    typeArn String
    The Amazon Resource Name (ARN) of the type without the versionID.
    versionId String
    The ID of the version of the type represented by this resource instance.
    visibility ResourceVersionVisibility

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    arn string
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    isDefaultVersion boolean
    Indicates if this type version is the current default version
    provisioningType ResourceVersionProvisioningType
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    typeArn string
    The Amazon Resource Name (ARN) of the type without the versionID.
    versionId string
    The ID of the version of the type represented by this resource instance.
    visibility ResourceVersionVisibility

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    arn str
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    is_default_version bool
    Indicates if this type version is the current default version
    provisioning_type ResourceVersionProvisioningType
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    type_arn str
    The Amazon Resource Name (ARN) of the type without the versionID.
    version_id str
    The ID of the version of the type represented by this resource instance.
    visibility ResourceVersionVisibility

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    arn String
    The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
    isDefaultVersion Boolean
    Indicates if this type version is the current default version
    provisioningType "NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE"
    The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
    typeArn String
    The Amazon Resource Name (ARN) of the type without the versionID.
    versionId String
    The ID of the version of the type represented by this resource instance.
    visibility "PUBLIC" | "PRIVATE"

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

    Valid values include:

    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.

    PUBLIC: The type is publically visible and usable within any Amazon account.

    Supporting Types

    ResourceVersionProvisioningType

    ResourceVersionVisibility

    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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi