Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Instance

import type { Instance } from "https://aws-api.deno.dev/v0.4/services/autoscaling.ts?docs=full";

Describes an EC2 instance.

interface Instance {
AvailabilityZone: string;
HealthStatus: string;
InstanceId: string;
InstanceType?: string | null;
LaunchConfigurationName?: string | null;
LaunchTemplate?: LaunchTemplateSpecification | null;
LifecycleState: LifecycleState;
ProtectedFromScaleIn: boolean;
WeightedCapacity?: string | null;
}

§Properties

§
AvailabilityZone: string
[src]

The Availability Zone in which the instance is running.

§
HealthStatus: string
[src]

The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.

§
InstanceId: string
[src]

The ID of the instance.

§
InstanceType?: string | null
[src]

The instance type of the EC2 instance.

§
LaunchConfigurationName?: string | null
[src]

The launch configuration associated with the instance.

§
LaunchTemplate?: LaunchTemplateSpecification | null
[src]

The launch template for the instance.

§
LifecycleState: LifecycleState
[src]

A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

§
ProtectedFromScaleIn: boolean
[src]

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

§
WeightedCapacity?: string | null
[src]

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.