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)

46 lines (45 loc) 1.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::EC2::Host */ export declare function getHost(args: GetHostArgs, opts?: pulumi.InvokeOptions): Promise<GetHostResult>; export interface GetHostArgs { /** * ID of the host created. */ hostId: string; } export interface GetHostResult { /** * Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. */ readonly autoPlacement?: enums.ec2.HostAutoPlacement; /** * ID of the host created. */ readonly hostId?: string; /** * Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host. */ readonly hostMaintenance?: enums.ec2.HostMaintenance; /** * Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. */ readonly hostRecovery?: enums.ec2.HostRecovery; /** * Any tags assigned to the Host. */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::EC2::Host */ export declare function getHostOutput(args: GetHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHostResult>; export interface GetHostOutputArgs { /** * ID of the host created. */ hostId: pulumi.Input<string>; }