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.25.0 published on Monday, Feb 3, 2025 by Pulumi

aws-native.cloudformation.getHookVersion

Explore with Pulumi AI

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

AWS Cloud Control v1.25.0 published on Monday, Feb 3, 2025 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>
Copy
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]
Copy
func LookupHookVersion(ctx *Context, args *LookupHookVersionArgs, opts ...InvokeOption) (*LookupHookVersionResult, error)
func LookupHookVersionOutput(ctx *Context, args *LookupHookVersionOutputArgs, opts ...InvokeOption) LookupHookVersionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetHookVersionResult> getHookVersion(GetHookVersionArgs args, InvokeOptions options)
public static Output<GetHookVersionResult> getHookVersion(GetHookVersionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:cloudformation:getHookVersion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
Arn This property is required. string
The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
arn This property is required. String
The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
arn This property is required. string
The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
arn This property is required. str
The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource
arn This property is required. 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

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

AWS Cloud Control v1.25.0 published on Monday, Feb 3, 2025 by Pulumi