UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

51 lines (50 loc) 2 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Publishes new or first hook version to AWS CloudFormation Registry. */ export declare function getHookVersion(args: GetHookVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetHookVersionResult>; export interface GetHookVersionArgs { /** * The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource */ arn: string; } export interface GetHookVersionResult { /** * The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource */ readonly arn?: string; /** * Indicates if this type version is the current default version */ readonly isDefaultVersion?: boolean; /** * The Amazon Resource Name (ARN) of the type without the versionID. */ readonly typeArn?: string; /** * The ID of the version of the type represented by this hook instance. */ readonly versionId?: string; /** * 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. */ readonly visibility?: enums.cloudformation.HookVersionVisibility; } /** * Publishes new or first hook version to AWS CloudFormation Registry. */ export declare function getHookVersionOutput(args: GetHookVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHookVersionResult>; export interface GetHookVersionOutputArgs { /** * The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource */ arn: pulumi.Input<string>; }