import * as core from "@terrascript/core"; export interface EbsBlockDeviceArgs extends core.SchemaArgs { deleteOnTermination?: boolean | core.BooleanOut; deviceName: string | core.StringOut; iops?: number | core.NumberOut; snapshotId?: string | core.StringOut; volumeSize?: number | core.NumberOut; volumeType?: string | core.StringOut; } export declare class EbsBlockDevice extends core.Schema { deleteOnTermination?: boolean | core.BooleanOut; deviceName: string | core.StringOut; iops?: number | core.NumberOut; snapshotId?: string | core.StringOut; volumeSize?: number | core.NumberOut; volumeType?: string | core.StringOut; } export interface EphemeralBlockDeviceArgs extends core.SchemaArgs { deviceName: string | core.StringOut; virtualName: string | core.StringOut; } export declare class EphemeralBlockDevice extends core.Schema { deviceName: string | core.StringOut; virtualName: string | core.StringOut; } export interface RootBlockDeviceArgs extends core.SchemaArgs { deleteOnTermination?: boolean | core.BooleanOut; iops?: number | core.NumberOut; volumeSize?: number | core.NumberOut; volumeType?: string | core.StringOut; } export declare class RootBlockDevice extends core.Schema { deleteOnTermination?: boolean | core.BooleanOut; iops?: number | core.NumberOut; volumeSize?: number | core.NumberOut; volumeType?: string | core.StringOut; } export interface InstanceArgs extends core.ResourceArgs { /** * (Optional) OpsWorks agent to install. Default is `INHERIT`. */ agentVersion?: string | core.StringOut; /** * (Optional) AMI to use for the instance. If an AMI is specified, `os` must be `Custom`. */ amiId?: string | core.StringOut; /** * (Optional) Machine architecture for created instances. Valid values are `x86_64` or `i386`. The def * ault is `x86_64`. */ architecture?: string | core.StringOut; /** * (Optional) Creates load-based or time-based instances. Valid values are `load`, `timer`. */ autoScalingType?: string | core.StringOut; /** * (Optional) Name of the availability zone where instances will be created by default. */ availabilityZone?: string | core.StringOut; /** * Time that the instance was created. */ createdAt?: string | core.StringOut; /** * (Optional) Whether to delete EBS volume on deletion. Default is `true`. */ deleteEbs?: boolean | core.BooleanOut; /** * (Optional) Whether to delete the Elastic IP on deletion. */ deleteEip?: boolean | core.BooleanOut; /** * (Optional) Configuration block for additional EBS block devices to attach to the instance. See [Bloc * k Devices](#block-devices) below. */ ebsBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Whether the launched EC2 instance will be EBS-optimized. */ ebsOptimized?: boolean | core.BooleanOut; /** * (Optional) ECS cluster's ARN for container instances. */ ecsClusterArn?: string | core.StringOut; /** * (Optional) Instance Elastic IP address. */ elasticIp?: string | core.StringOut; /** * (Optional) Configuration block for ephemeral (also known as "Instance Store") volumes on the instanc * e. See [Block Devices](#block-devices) below. */ ephemeralBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Instance's host name. */ hostname?: string | core.StringOut; /** * (Optional) For registered instances, infrastructure class: ec2 or on-premises. */ infrastructureClass?: string | core.StringOut; /** * (Optional) Controls where to install OS and package updates when the instance boots. Default is `tr * ue`. */ installUpdatesOnBoot?: boolean | core.BooleanOut; /** * (Optional) ARN of the instance's IAM profile. */ instanceProfileArn?: string | core.StringOut; /** * (Optional) Type of instance to start. */ instanceType?: string | core.StringOut; /** * (Required) List of the layers the instance will belong to. */ layerIds: core.Array | core.ArrayOut; /** * (Optional) Name of operating system that will be installed. */ os?: string | core.StringOut; /** * (Optional) Configuration block for the root block device of the instance. See [Block Devices](#block * devices) below. */ rootBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Name of the type of root device instances will have by default. Valid values are `ebs` or * instance-store`. */ rootDeviceType?: string | core.StringOut; /** * Associated security groups. */ securityGroupIds?: core.Array | core.ArrayOut; /** * (Optional) Name of the SSH keypair that instances will have by default. */ sshKeyName?: string | core.StringOut; /** * (Required) Identifier of the stack the instance will belong to. */ stackId: string | core.StringOut; /** * (Optional) Desired state of the instance. Valid values are `running` or `stopped`. */ state?: string | core.StringOut; /** * Instance status. Will be one of `booting`, `connection_lost`, `online`, `pending`, `rebooting`, `req * uested`, `running_setup`, `setup_failed`, `shutting_down`, `start_failed`, `stop_failed`, `stopped`, * stopping`, `terminated`, or `terminating`. */ status?: string | core.StringOut; /** * (Optional) Subnet ID to attach to. */ subnetId?: string | core.StringOut; /** * (Optional) Instance tenancy to use. Valid values are `default`, `dedicated` or `host`. */ tenancy?: string | core.StringOut; /** * (Optional) Keyword to choose what virtualization mode created instances will use. Valid values are ` * paravirtual` or `hvm`. */ virtualizationType?: string | core.StringOut; } export declare class Instance extends core.Resource { /** * (Optional) OpsWorks agent to install. Default is `INHERIT`. */ agentVersion?: string | core.StringOut; /** * (Optional) AMI to use for the instance. If an AMI is specified, `os` must be `Custom`. */ amiId?: string | core.StringOut; /** * (Optional) Machine architecture for created instances. Valid values are `x86_64` or `i386`. The def * ault is `x86_64`. */ architecture?: string | core.StringOut; /** * (Optional) Creates load-based or time-based instances. Valid values are `load`, `timer`. */ autoScalingType?: string | core.StringOut; /** * (Optional) Name of the availability zone where instances will be created by default. */ availabilityZone?: string | core.StringOut; /** * Time that the instance was created. */ createdAt?: string | core.StringOut; /** * (Optional) Whether to delete EBS volume on deletion. Default is `true`. */ deleteEbs?: boolean | core.BooleanOut; /** * (Optional) Whether to delete the Elastic IP on deletion. */ deleteEip?: boolean | core.BooleanOut; /** * (Optional) Configuration block for additional EBS block devices to attach to the instance. See [Bloc * k Devices](#block-devices) below. */ ebsBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Whether the launched EC2 instance will be EBS-optimized. */ ebsOptimized?: boolean | core.BooleanOut; /** * EC2 instance ID. */ ec2InstanceId: string | core.StringOut; /** * (Optional) ECS cluster's ARN for container instances. */ ecsClusterArn?: string | core.StringOut; /** * (Optional) Instance Elastic IP address. */ elasticIp?: string | core.StringOut; /** * (Optional) Configuration block for ephemeral (also known as "Instance Store") volumes on the instanc * e. See [Block Devices](#block-devices) below. */ ephemeralBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Instance's host name. */ hostname?: string | core.StringOut; /** * ID of the OpsWorks instance. */ id: string | core.StringOut; /** * (Optional) For registered instances, infrastructure class: ec2 or on-premises. */ infrastructureClass?: string | core.StringOut; /** * (Optional) Controls where to install OS and package updates when the instance boots. Default is `tr * ue`. */ installUpdatesOnBoot?: boolean | core.BooleanOut; /** * (Optional) ARN of the instance's IAM profile. */ instanceProfileArn?: string | core.StringOut; /** * (Optional) Type of instance to start. */ instanceType?: string | core.StringOut; /** * ID of the last service error. */ lastServiceErrorId: string | core.StringOut; /** * (Required) List of the layers the instance will belong to. */ layerIds: core.Array | core.ArrayOut; /** * (Optional) Name of operating system that will be installed. */ os?: string | core.StringOut; /** * Instance's platform. */ platform: string | core.StringOut; /** * Private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only availabl * e if you've enabled DNS hostnames for your VPC. */ privateDns: string | core.StringOut; /** * Private IP address assigned to the instance. */ privateIp: string | core.StringOut; /** * Public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled DNS * hostnames for your VPC. */ publicDns: string | core.StringOut; /** * Public IP address assigned to the instance, if applicable. */ publicIp: string | core.StringOut; /** * For registered instances, who performed the registration. */ registeredBy: string | core.StringOut; /** * Instance's reported AWS OpsWorks Stacks agent version. */ reportedAgentVersion: string | core.StringOut; /** * For registered instances, the reported operating system family. */ reportedOsFamily: string | core.StringOut; /** * For registered instances, the reported operating system name. */ reportedOsName: string | core.StringOut; /** * For registered instances, the reported operating system version. */ reportedOsVersion: string | core.StringOut; /** * (Optional) Configuration block for the root block device of the instance. See [Block Devices](#block * devices) below. */ rootBlockDevice?: core.Array | core.ArrayOut; /** * (Optional) Name of the type of root device instances will have by default. Valid values are `ebs` or * instance-store`. */ rootDeviceType?: string | core.StringOut; /** * Root device volume ID. */ rootDeviceVolumeId: string | core.StringOut; /** * Associated security groups. */ securityGroupIds?: core.Array | core.ArrayOut; /** * SSH key's Deep Security Agent (DSA) fingerprint. */ sshHostDsaKeyFingerprint: string | core.StringOut; /** * SSH key's RSA fingerprint. */ sshHostRsaKeyFingerprint: string | core.StringOut; /** * (Optional) Name of the SSH keypair that instances will have by default. */ sshKeyName?: string | core.StringOut; /** * (Required) Identifier of the stack the instance will belong to. */ stackId: string | core.StringOut; /** * (Optional) Desired state of the instance. Valid values are `running` or `stopped`. */ state?: string | core.StringOut; /** * Instance status. Will be one of `booting`, `connection_lost`, `online`, `pending`, `rebooting`, `req * uested`, `running_setup`, `setup_failed`, `shutting_down`, `start_failed`, `stop_failed`, `stopped`, * stopping`, `terminated`, or `terminating`. */ status?: string | core.StringOut; /** * (Optional) Subnet ID to attach to. */ subnetId?: string | core.StringOut; /** * (Optional) Instance tenancy to use. Valid values are `default`, `dedicated` or `host`. */ tenancy?: string | core.StringOut; /** * (Optional) Keyword to choose what virtualization mode created instances will use. Valid values are ` * paravirtual` or `hvm`. */ virtualizationType?: string | core.StringOut; constructor(name: string, args?: InstanceArgs); getNamespace(): string; } //# sourceMappingURL=instance.d.ts.map