1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudformation
  5. getHookVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.cloudformation.getHookVersion

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Publishes new or first hook version to AWS CloudFormation Registry.

    Using getHookVersion

    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 getHookVersion(args: GetHookVersionArgs, opts?: InvokeOptions): Promise<GetHookVersionResult>
    function getHookVersionOutput(args: GetHookVersionOutputArgs, opts?: InvokeOptions): Output<GetHookVersionResult>
    def get_hook_version(arn: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetHookVersionResult
    def get_hook_version_output(arn: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetHookVersionResult]
    func LookupHookVersion(ctx *Context, args *LookupHookVersionArgs, opts ...InvokeOption) (*LookupHookVersionResult, error)
    func LookupHookVersionOutput(ctx *Context, args *LookupHookVersionOutputArgs, opts ...InvokeOption) LookupHookVersionResultOutput

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

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

    The following arguments are supported:

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

    getHookVersion Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
    IsDefaultVersion bool
    Indicates if this type version is the current default version
    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 hook instance.
    Visibility Pulumi.AwsNative.CloudFormation.HookVersionVisibility

    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 HookVersion. This is used to uniquely identify a HookVersion resource
    IsDefaultVersion bool
    Indicates if this type version is the current default version
    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 hook instance.
    Visibility HookVersionVisibility

    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 HookVersion. This is used to uniquely identify a HookVersion resource
    isDefaultVersion Boolean
    Indicates if this type version is the current default version
    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 hook instance.
    visibility HookVersionVisibility

    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 HookVersion. This is used to uniquely identify a HookVersion resource
    isDefaultVersion boolean
    Indicates if this type version is the current default version
    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 hook instance.
    visibility HookVersionVisibility

    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 HookVersion. This is used to uniquely identify a HookVersion resource
    is_default_version bool
    Indicates if this type version is the current default version
    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 hook instance.
    visibility HookVersionVisibility

    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 HookVersion. This is used to uniquely identify a HookVersion resource
    isDefaultVersion Boolean
    Indicates if this type version is the current default version
    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 hook 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

    HookVersionVisibility

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi