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

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

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.cloudformation.getHookDefaultVersion

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Set a version as default version for a hook in CloudFormation Registry.

    Using getHookDefaultVersion

    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 getHookDefaultVersion(args: GetHookDefaultVersionArgs, opts?: InvokeOptions): Promise<GetHookDefaultVersionResult>
    function getHookDefaultVersionOutput(args: GetHookDefaultVersionOutputArgs, opts?: InvokeOptions): Output<GetHookDefaultVersionResult>
    def get_hook_default_version(arn: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetHookDefaultVersionResult
    def get_hook_default_version_output(arn: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetHookDefaultVersionResult]
    func LookupHookDefaultVersion(ctx *Context, args *LookupHookDefaultVersionArgs, opts ...InvokeOption) (*LookupHookDefaultVersionResult, error)
    func LookupHookDefaultVersionOutput(ctx *Context, args *LookupHookDefaultVersionOutputArgs, opts ...InvokeOption) LookupHookDefaultVersionResultOutput

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

    public static class GetHookDefaultVersion 
    {
        public static Task<GetHookDefaultVersionResult> InvokeAsync(GetHookDefaultVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetHookDefaultVersionResult> Invoke(GetHookDefaultVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHookDefaultVersionResult> getHookDefaultVersion(GetHookDefaultVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:cloudformation:getHookDefaultVersion
      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 HookDefaultVersion
    Arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    arn str
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion

    getHookDefaultVersion Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook to set as the default.
    Arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook to set as the default.
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook to set as the default.
    arn string
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook to set as the default.
    arn str
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook to set as the default.
    arn String
    The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion
    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 hook 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.100.0 published on Wednesday, Mar 27, 2024 by Pulumi