Interface Ec2InstanceType

interface Ec2InstanceType {
    imageId: string;
    instanceId: string;
    instanceLifecycle: undefined | "capacity-block" | "scheduled" | "spot";
    instanceType: string;
    launchTime: undefined | Date;
    privateIpAddress: string;
    publicIpAddress: string;
    raw: any;
    securityGroups: {
        groupId: string;
        groupName: string;
    }[];
    state: undefined | "pending" | "running" | "shutting-down" | "stopped" | "stopping" | "terminated";
    subnetId: string;
    tags: {
        key: string;
        value: string;
    }[];
    vpcId: string;
}

Properties

imageId: string
instanceId: string
instanceLifecycle: undefined | "capacity-block" | "scheduled" | "spot"
instanceType: string
launchTime: undefined | Date
privateIpAddress: string
publicIpAddress: string
raw: any
securityGroups: {
    groupId: string;
    groupName: string;
}[]

Type declaration

  • groupId: string
  • groupName: string
state: undefined | "pending" | "running" | "shutting-down" | "stopped" | "stopping" | "terminated"
subnetId: string
tags: {
    key: string;
    value: string;
}[]

Type declaration

  • key: string
  • value: string
vpcId: string