We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 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)
public static Output<GetHookDefaultVersionResult> getHookDefaultVersion(GetHookDefaultVersionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:cloudformation:getHookDefaultVersion
arguments:
# arguments dictionaryThe 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
- Type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- Type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- Version
Id 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
- Type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- Type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- Version
Id 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
- type
Name String The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version StringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id 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
- type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id 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_ strarn - 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
- type
Name String The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version StringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id 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
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
