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)

55 lines (54 loc) 2.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * A resource that has been registered in the CloudFormation Registry. */ export declare function getResourceVersion(args: GetResourceVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceVersionResult>; export interface GetResourceVersionArgs { /** * The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource */ arn: string; } export interface GetResourceVersionResult { /** * The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource */ readonly arn?: string; /** * Indicates if this type version is the current default version */ readonly isDefaultVersion?: boolean; /** * The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. */ readonly provisioningType?: enums.cloudformation.ResourceVersionProvisioningType; /** * 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 resource 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.ResourceVersionVisibility; } /** * A resource that has been registered in the CloudFormation Registry. */ export declare function getResourceVersionOutput(args: GetResourceVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceVersionResult>; export interface GetResourceVersionOutputArgs { /** * The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource */ arn: pulumi.Input<string>; }