AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getHost

Resource Type definition for AWS::EC2::Host

Using getHost

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 getHost(args: GetHostArgs, opts?: InvokeOptions): Promise<GetHostResult>
function getHostOutput(args: GetHostOutputArgs, opts?: InvokeOptions): Output<GetHostResult>
def get_host(host_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetHostResult
def get_host_output(host_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetHostResult]
func LookupHost(ctx *Context, args *LookupHostArgs, opts ...InvokeOption) (*LookupHostResult, error)
func LookupHostOutput(ctx *Context, args *LookupHostOutputArgs, opts ...InvokeOption) LookupHostResultOutput

> Note: This function is named LookupHost in the Go SDK.

public static class GetHost 
{
    public static Task<GetHostResult> InvokeAsync(GetHostArgs args, InvokeOptions? opts = null)
    public static Output<GetHostResult> Invoke(GetHostInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHostResult> getHost(GetHostArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getHost
  Arguments:
    # Arguments dictionary

The following arguments are supported:

HostId string

Id of the host created.

HostId string

Id of the host created.

hostId String

Id of the host created.

hostId string

Id of the host created.

host_id str

Id of the host created.

hostId String

Id of the host created.

getHost Result

The following output properties are available:

AutoPlacement string

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.

HostId string

Id of the host created.

HostRecovery string

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

AutoPlacement string

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.

HostId string

Id of the host created.

HostRecovery string

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

autoPlacement String

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.

hostId String

Id of the host created.

hostRecovery String

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

autoPlacement string

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.

hostId string

Id of the host created.

hostRecovery string

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

auto_placement str

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.

host_id str

Id of the host created.

host_recovery str

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

autoPlacement String

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.

hostId String

Id of the host created.

hostRecovery String

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0