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

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.getResourceDefaultVersion

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

    The default version of a resource that has been registered in the CloudFormation Registry.

    Using getResourceDefaultVersion

    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 getResourceDefaultVersion(args: GetResourceDefaultVersionArgs, opts?: InvokeOptions): Promise<GetResourceDefaultVersionResult>
    function getResourceDefaultVersionOutput(args: GetResourceDefaultVersionOutputArgs, opts?: InvokeOptions): Output<GetResourceDefaultVersionResult>
    def get_resource_default_version(arn: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetResourceDefaultVersionResult
    def get_resource_default_version_output(arn: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetResourceDefaultVersionResult]
    func LookupResourceDefaultVersion(ctx *Context, args *LookupResourceDefaultVersionArgs, opts ...InvokeOption) (*LookupResourceDefaultVersionResult, error)
    func LookupResourceDefaultVersionOutput(ctx *Context, args *LookupResourceDefaultVersionOutputArgs, opts ...InvokeOption) LookupResourceDefaultVersionResultOutput

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

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

    The following arguments are supported:

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

    getResourceDefaultVersion Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    TypeName string

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    TypeVersionArn string
    The Amazon Resource Name (ARN) of the type version.
    VersionId string
    The ID of an existing version of the resource to set as the default.
    Arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    TypeName string

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    TypeVersionArn string
    The Amazon Resource Name (ARN) of the type version.
    VersionId string
    The ID of an existing version of the resource to set as the default.
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    typeName String

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    typeVersionArn String
    The Amazon Resource Name (ARN) of the type version.
    versionId String
    The ID of an existing version of the resource to set as the default.
    arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    typeName string

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    typeVersionArn string
    The Amazon Resource Name (ARN) of the type version.
    versionId string
    The ID of an existing version of the resource to set as the default.
    arn str
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    type_name str

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    type_version_arn str
    The Amazon Resource Name (ARN) of the type version.
    version_id str
    The ID of an existing version of the resource to set as the default.
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
    typeName String

    The name of the type being registered.

    We recommend that type names adhere to the following pattern: company_or_organization::service::type.

    typeVersionArn String
    The Amazon Resource Name (ARN) of the type version.
    versionId String
    The ID of an existing version of the resource to set as the default.

    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