@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)
48 lines (47 loc) • 1.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource schema for AWS::ImageBuilder::Component
*/
export declare function getComponent(args: GetComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetComponentResult>;
export interface GetComponentArgs {
/**
* The Amazon Resource Name (ARN) of the component.
*/
arn: string;
}
export interface GetComponentResult {
/**
* The Amazon Resource Name (ARN) of the component.
*/
readonly arn?: string;
/**
* The encryption status of the component.
*/
readonly encrypted?: boolean;
/**
* The latest version references of the component.
*/
readonly latestVersion?: outputs.imagebuilder.ComponentLatestVersion;
/**
* The tags associated with the component.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the component denotes whether the component is used to build the image or only to test it.
*/
readonly type?: enums.imagebuilder.ComponentType;
}
/**
* Resource schema for AWS::ImageBuilder::Component
*/
export declare function getComponentOutput(args: GetComponentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetComponentResult>;
export interface GetComponentOutputArgs {
/**
* The Amazon Resource Name (ARN) of the component.
*/
arn: pulumi.Input<string>;
}