We recommend new projects start with resources from the AWS provider.
aws-native.lightsail.Instance
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Lightsail::Instance
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
blueprint_id: Optional[str] = None,
bundle_id: Optional[str] = None,
add_ons: Optional[Sequence[InstanceAddOnArgs]] = None,
availability_zone: Optional[str] = None,
hardware: Optional[InstanceHardwareArgs] = None,
instance_name: Optional[str] = None,
key_pair_name: Optional[str] = None,
location: Optional[InstanceLocationArgs] = None,
networking: Optional[InstanceNetworkingArgs] = None,
state: Optional[InstanceStateArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_data: Optional[str] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: aws-native:lightsail:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Instance resource accepts the following input properties:
- Blueprint
Id string - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- Bundle
Id string - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- Add
Ons List<Pulumi.Aws Native. Lightsail. Inputs. Instance Add On> - An array of objects representing the add-ons to enable for the new instance.
- Availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Hardware
Pulumi.
Aws Native. Lightsail. Inputs. Instance Hardware The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- Instance
Name string - The names to use for your new Lightsail instance.
- Key
Pair stringName - The name of your key pair.
- Location
Pulumi.
Aws Native. Lightsail. Inputs. Instance Location The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- Networking
Pulumi.
Aws Native. Lightsail. Inputs. Instance Networking - The public ports and the monthly amount of data transfer allocated for the instance.
- State
Pulumi.
Aws Native. Lightsail. Inputs. Instance State The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- User
Data string - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- Blueprint
Id string - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- Bundle
Id string - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- Add
Ons []InstanceAdd On Args - An array of objects representing the add-ons to enable for the new instance.
- Availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Hardware
Instance
Hardware Args The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- Instance
Name string - The names to use for your new Lightsail instance.
- Key
Pair stringName - The name of your key pair.
- Location
Instance
Location Args The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- Networking
Instance
Networking Args - The public ports and the monthly amount of data transfer allocated for the instance.
- State
Instance
State Type Args The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- Tag
Args - An array of key-value pairs to apply to this resource.
- User
Data string - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- blueprint
Id String - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- bundle
Id String - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- add
Ons List<InstanceAdd On> - An array of objects representing the add-ons to enable for the new instance.
- availability
Zone String - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- hardware
Instance
Hardware The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- instance
Name String - The names to use for your new Lightsail instance.
- key
Pair StringName - The name of your key pair.
- location
Instance
Location The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- networking
Instance
Networking - The public ports and the monthly amount of data transfer allocated for the instance.
- state
Instance
State The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- List<Tag>
- An array of key-value pairs to apply to this resource.
- user
Data String - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- blueprint
Id string - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- bundle
Id string - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- add
Ons InstanceAdd On[] - An array of objects representing the add-ons to enable for the new instance.
- availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- hardware
Instance
Hardware The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- instance
Name string - The names to use for your new Lightsail instance.
- key
Pair stringName - The name of your key pair.
- location
Instance
Location The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- networking
Instance
Networking - The public ports and the monthly amount of data transfer allocated for the instance.
- state
Instance
State The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- Tag[]
- An array of key-value pairs to apply to this resource.
- user
Data string - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- blueprint_
id str - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- bundle_
id str - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- add_
ons Sequence[InstanceAdd On Args] - An array of objects representing the add-ons to enable for the new instance.
- availability_
zone str - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- hardware
Instance
Hardware Args The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- instance_
name str - The names to use for your new Lightsail instance.
- key_
pair_ strname - The name of your key pair.
- location
Instance
Location Args The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- networking
Instance
Networking Args - The public ports and the monthly amount of data transfer allocated for the instance.
- state
Instance
State Args The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- user_
data str - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
- blueprint
Id String - The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ). Use the get blueprints operation to return a list of available images (or blueprints ).
- bundle
Id String - The bundle of specification information for your virtual private server (or instance ), including the pricing plan (e.g., micro_1_0 ).
- add
Ons List<Property Map> - An array of objects representing the add-ons to enable for the new instance.
- availability
Zone String - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- hardware Property Map
The hardware properties for the instance, such as the vCPU count, attached disks, and amount of RAM.
The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- instance
Name String - The names to use for your new Lightsail instance.
- key
Pair StringName - The name of your key pair.
- location Property Map
The location for the instance, such as the AWS Region and Availability Zone.
The
Location
property is read-only and should not be specified in a create instance or update instance request.- networking Property Map
- The public ports and the monthly amount of data transfer allocated for the instance.
- state Property Map
The status code and the state (for example,
running
) of the instance.The
State
property is read-only and should not be specified in a create instance or update instance request.- List<Property Map>
- An array of key-value pairs to apply to this resource.
- user
Data String - A launch script you can create that configures a server with additional user data. For example, you might want to run apt-get -y update.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Arn string - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - Ipv6Addresses List<string>
- IPv6 addresses of the instance
- Is
Static boolIp - Is the IP Address of the Instance is the static IP
- Private
Ip stringAddress - Private IP Address of the Instance
- Public
Ip stringAddress - Public IP Address of the Instance
- Resource
Type string - Resource type of Lightsail instance.
- Ssh
Key stringName - SSH Key Name of the Lightsail instance.
- Support
Code string - Support code to help identify any issues
- User
Name string - Username of the Lightsail instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Arn string - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - Ipv6Addresses []string
- IPv6 addresses of the instance
- Is
Static boolIp - Is the IP Address of the Instance is the static IP
- Private
Ip stringAddress - Private IP Address of the Instance
- Public
Ip stringAddress - Public IP Address of the Instance
- Resource
Type string - Resource type of Lightsail instance.
- Ssh
Key stringName - SSH Key Name of the Lightsail instance.
- Support
Code string - Support code to help identify any issues
- User
Name string - Username of the Lightsail instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Arn String - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - ipv6Addresses List<String>
- IPv6 addresses of the instance
- is
Static BooleanIp - Is the IP Address of the Instance is the static IP
- private
Ip StringAddress - Private IP Address of the Instance
- public
Ip StringAddress - Public IP Address of the Instance
- resource
Type String - Resource type of Lightsail instance.
- ssh
Key StringName - SSH Key Name of the Lightsail instance.
- support
Code String - Support code to help identify any issues
- user
Name String - Username of the Lightsail instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Arn string - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - ipv6Addresses string[]
- IPv6 addresses of the instance
- is
Static booleanIp - Is the IP Address of the Instance is the static IP
- private
Ip stringAddress - Private IP Address of the Instance
- public
Ip stringAddress - Public IP Address of the Instance
- resource
Type string - Resource type of Lightsail instance.
- ssh
Key stringName - SSH Key Name of the Lightsail instance.
- support
Code string - Support code to help identify any issues
- user
Name string - Username of the Lightsail instance.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
arn str - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - ipv6_
addresses Sequence[str] - IPv6 addresses of the instance
- is_
static_ boolip - Is the IP Address of the Instance is the static IP
- private_
ip_ straddress - Private IP Address of the Instance
- public_
ip_ straddress - Public IP Address of the Instance
- resource_
type str - Resource type of Lightsail instance.
- ssh_
key_ strname - SSH Key Name of the Lightsail instance.
- support_
code str - Support code to help identify any issues
- user_
name str - Username of the Lightsail instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Arn String - The Amazon Resource Name (ARN) of the instance (for example,
arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE
). - ipv6Addresses List<String>
- IPv6 addresses of the instance
- is
Static BooleanIp - Is the IP Address of the Instance is the static IP
- private
Ip StringAddress - Private IP Address of the Instance
- public
Ip StringAddress - Public IP Address of the Instance
- resource
Type String - Resource type of Lightsail instance.
- ssh
Key StringName - SSH Key Name of the Lightsail instance.
- support
Code String - Support code to help identify any issues
- user
Name String - Username of the Lightsail instance.
Supporting Types
InstanceAddOn, InstanceAddOnArgs
- Add
On stringType - The add-on type
- Auto
Snapshot Pulumi.Add On Request Aws Native. Lightsail. Inputs. Instance Auto Snapshot Add On - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- Status
Pulumi.
Aws Native. Lightsail. Instance Add On Status - Status of the Addon
- Add
On stringType - The add-on type
- Auto
Snapshot InstanceAdd On Request Auto Snapshot Add On - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- Status
Instance
Add On Status - Status of the Addon
- add
On StringType - The add-on type
- auto
Snapshot InstanceAdd On Request Auto Snapshot Add On - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- status
Instance
Add On Status - Status of the Addon
- add
On stringType - The add-on type
- auto
Snapshot InstanceAdd On Request Auto Snapshot Add On - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- status
Instance
Add On Status - Status of the Addon
- add_
on_ strtype - The add-on type
- auto_
snapshot_ Instanceadd_ on_ request Auto Snapshot Add On - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- status
Instance
Add On Status - Status of the Addon
- add
On StringType - The add-on type
- auto
Snapshot Property MapAdd On Request - The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
- status "Enabling" | "Disabling" | "Enabled" | "Terminating" | "Terminated" | "Disabled" | "Failed"
- Status of the Addon
InstanceAddOnStatus, InstanceAddOnStatusArgs
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- Instance
Add On Status Enabling - Enabling
- Instance
Add On Status Disabling - Disabling
- Instance
Add On Status Enabled - Enabled
- Instance
Add On Status Terminating - Terminating
- Instance
Add On Status Terminated - Terminated
- Instance
Add On Status Disabled - Disabled
- Instance
Add On Status Failed - Failed
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- Enabling
- Enabling
- Disabling
- Disabling
- Enabled
- Enabled
- Terminating
- Terminating
- Terminated
- Terminated
- Disabled
- Disabled
- Failed
- Failed
- ENABLING
- Enabling
- DISABLING
- Disabling
- ENABLED
- Enabled
- TERMINATING
- Terminating
- TERMINATED
- Terminated
- DISABLED
- Disabled
- FAILED
- Failed
- "Enabling"
- Enabling
- "Disabling"
- Disabling
- "Enabled"
- Enabled
- "Terminating"
- Terminating
- "Terminated"
- Terminated
- "Disabled"
- Disabled
- "Failed"
- Failed
InstanceAutoSnapshotAddOn, InstanceAutoSnapshotAddOnArgs
- Snapshot
Time stringOf Day - The daily time when an automatic snapshot will be created.
- Snapshot
Time stringOf Day - The daily time when an automatic snapshot will be created.
- snapshot
Time StringOf Day - The daily time when an automatic snapshot will be created.
- snapshot
Time stringOf Day - The daily time when an automatic snapshot will be created.
- snapshot_
time_ strof_ day - The daily time when an automatic snapshot will be created.
- snapshot
Time StringOf Day - The daily time when an automatic snapshot will be created.
InstanceDisk, InstanceDiskArgs
- Disk
Name string - The names to use for your new Lightsail disk.
- Path string
- Path of the disk attached to the instance.
- Attached
To string - Instance attached to the disk.
- Attachment
State string - Attachment state of the disk.
- Iops int
- IOPS of disk.
- Is
System boolDisk - Is the Attached disk is the system disk of the Instance.
- Size
In stringGb - Size of the disk attached to the Instance.
- Disk
Name string - The names to use for your new Lightsail disk.
- Path string
- Path of the disk attached to the instance.
- Attached
To string - Instance attached to the disk.
- Attachment
State string - Attachment state of the disk.
- Iops int
- IOPS of disk.
- Is
System boolDisk - Is the Attached disk is the system disk of the Instance.
- Size
In stringGb - Size of the disk attached to the Instance.
- disk
Name String - The names to use for your new Lightsail disk.
- path String
- Path of the disk attached to the instance.
- attached
To String - Instance attached to the disk.
- attachment
State String - Attachment state of the disk.
- iops Integer
- IOPS of disk.
- is
System BooleanDisk - Is the Attached disk is the system disk of the Instance.
- size
In StringGb - Size of the disk attached to the Instance.
- disk
Name string - The names to use for your new Lightsail disk.
- path string
- Path of the disk attached to the instance.
- attached
To string - Instance attached to the disk.
- attachment
State string - Attachment state of the disk.
- iops number
- IOPS of disk.
- is
System booleanDisk - Is the Attached disk is the system disk of the Instance.
- size
In stringGb - Size of the disk attached to the Instance.
- disk_
name str - The names to use for your new Lightsail disk.
- path str
- Path of the disk attached to the instance.
- attached_
to str - Instance attached to the disk.
- attachment_
state str - Attachment state of the disk.
- iops int
- IOPS of disk.
- is_
system_ booldisk - Is the Attached disk is the system disk of the Instance.
- size_
in_ strgb - Size of the disk attached to the Instance.
- disk
Name String - The names to use for your new Lightsail disk.
- path String
- Path of the disk attached to the instance.
- attached
To String - Instance attached to the disk.
- attachment
State String - Attachment state of the disk.
- iops Number
- IOPS of disk.
- is
System BooleanDisk - Is the Attached disk is the system disk of the Instance.
- size
In StringGb - Size of the disk attached to the Instance.
InstanceHardware, InstanceHardwareArgs
- Cpu
Count int - CPU count of the Instance.
- Disks
List<Pulumi.
Aws Native. Lightsail. Inputs. Instance Disk> - Disks attached to the Instance.
- Ram
Size intIn Gb - RAM Size of the Instance.
- Cpu
Count int - CPU count of the Instance.
- Disks
[]Instance
Disk - Disks attached to the Instance.
- Ram
Size intIn Gb - RAM Size of the Instance.
- cpu
Count Integer - CPU count of the Instance.
- disks
List<Instance
Disk> - Disks attached to the Instance.
- ram
Size IntegerIn Gb - RAM Size of the Instance.
- cpu
Count number - CPU count of the Instance.
- disks
Instance
Disk[] - Disks attached to the Instance.
- ram
Size numberIn Gb - RAM Size of the Instance.
- cpu_
count int - CPU count of the Instance.
- disks
Sequence[Instance
Disk] - Disks attached to the Instance.
- ram_
size_ intin_ gb - RAM Size of the Instance.
- cpu
Count Number - CPU count of the Instance.
- disks List<Property Map>
- Disks attached to the Instance.
- ram
Size NumberIn Gb - RAM Size of the Instance.
InstanceLocation, InstanceLocationArgs
- Availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Region
Name string - The Region Name in which to create your instance.
- Availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- Region
Name string - The Region Name in which to create your instance.
- availability
Zone String - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name String - The Region Name in which to create your instance.
- availability
Zone string - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name string - The Region Name in which to create your instance.
- availability_
zone str - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region_
name str - The Region Name in which to create your instance.
- availability
Zone String - The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
- region
Name String - The Region Name in which to create your instance.
InstanceMonthlyTransfer, InstanceMonthlyTransferArgs
- Gb
Per stringMonth Allocated - GbPerMonthAllocated of the Instance.
- Gb
Per stringMonth Allocated - GbPerMonthAllocated of the Instance.
- gb
Per StringMonth Allocated - GbPerMonthAllocated of the Instance.
- gb
Per stringMonth Allocated - GbPerMonthAllocated of the Instance.
- gb_
per_ strmonth_ allocated - GbPerMonthAllocated of the Instance.
- gb
Per StringMonth Allocated - GbPerMonthAllocated of the Instance.
InstanceNetworking, InstanceNetworkingArgs
- Ports
List<Pulumi.
Aws Native. Lightsail. Inputs. Instance Port> - Ports to the Instance.
- Monthly
Transfer Pulumi.Aws Native. Lightsail. Inputs. Instance Monthly Transfer - The monthly amount of data transfer, in GB, allocated for the instance
- Ports
[]Instance
Port - Ports to the Instance.
- Monthly
Transfer InstanceMonthly Transfer - The monthly amount of data transfer, in GB, allocated for the instance
- ports
List<Instance
Port> - Ports to the Instance.
- monthly
Transfer InstanceMonthly Transfer - The monthly amount of data transfer, in GB, allocated for the instance
- ports
Instance
Port[] - Ports to the Instance.
- monthly
Transfer InstanceMonthly Transfer - The monthly amount of data transfer, in GB, allocated for the instance
- ports
Sequence[Instance
Port] - Ports to the Instance.
- monthly_
transfer InstanceMonthly Transfer - The monthly amount of data transfer, in GB, allocated for the instance
- ports List<Property Map>
- Ports to the Instance.
- monthly
Transfer Property Map - The monthly amount of data transfer, in GB, allocated for the instance
InstancePort, InstancePortArgs
- Access
Direction string - Access Direction for Protocol of the Instance(inbound/outbound).
- Access
From string - Access From Protocol of the Instance.
- Access
Type string - Access Type Protocol of the Instance.
- Cidr
List List<string>Aliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- Cidrs List<string>
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- Common
Name string - CommonName for Protocol of the Instance.
- From
Port int - From Port of the Instance.
- Ipv6Cidrs List<string>
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- Protocol string
- Port Protocol of the Instance.
- To
Port int - To Port of the Instance.
- Access
Direction string - Access Direction for Protocol of the Instance(inbound/outbound).
- Access
From string - Access From Protocol of the Instance.
- Access
Type string - Access Type Protocol of the Instance.
- Cidr
List []stringAliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- Cidrs []string
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- Common
Name string - CommonName for Protocol of the Instance.
- From
Port int - From Port of the Instance.
- Ipv6Cidrs []string
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- Protocol string
- Port Protocol of the Instance.
- To
Port int - To Port of the Instance.
- access
Direction String - Access Direction for Protocol of the Instance(inbound/outbound).
- access
From String - Access From Protocol of the Instance.
- access
Type String - Access Type Protocol of the Instance.
- cidr
List List<String>Aliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- cidrs List<String>
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- common
Name String - CommonName for Protocol of the Instance.
- from
Port Integer - From Port of the Instance.
- ipv6Cidrs List<String>
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- protocol String
- Port Protocol of the Instance.
- to
Port Integer - To Port of the Instance.
- access
Direction string - Access Direction for Protocol of the Instance(inbound/outbound).
- access
From string - Access From Protocol of the Instance.
- access
Type string - Access Type Protocol of the Instance.
- cidr
List string[]Aliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- cidrs string[]
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- common
Name string - CommonName for Protocol of the Instance.
- from
Port number - From Port of the Instance.
- ipv6Cidrs string[]
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- protocol string
- Port Protocol of the Instance.
- to
Port number - To Port of the Instance.
- access_
direction str - Access Direction for Protocol of the Instance(inbound/outbound).
- access_
from str - Access From Protocol of the Instance.
- access_
type str - Access Type Protocol of the Instance.
- cidr_
list_ Sequence[str]aliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- cidrs Sequence[str]
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- common_
name str - CommonName for Protocol of the Instance.
- from_
port int - From Port of the Instance.
- ipv6_
cidrs Sequence[str] The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- protocol str
- Port Protocol of the Instance.
- to_
port int - To Port of the Instance.
- access
Direction String - Access Direction for Protocol of the Instance(inbound/outbound).
- access
From String - Access From Protocol of the Instance.
- access
Type String - Access Type Protocol of the Instance.
- cidr
List List<String>Aliases An alias that defines access for a preconfigured range of IP addresses.
The only alias currently supported is
lightsail-connect
, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.- cidrs List<String>
The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol.
The
ipv6Cidrs
parameter lists the IPv6 addresses that are allowed to connect to an instance.Examples:
- To allow the IP address
192.0.2.44
, specify192.0.2.44
or192.0.2.44/32
. - To allow the IP addresses
192.0.2.0
to192.0.2.255
, specify192.0.2.0/24
.
- To allow the IP address
- common
Name String - CommonName for Protocol of the Instance.
- from
Port Number - From Port of the Instance.
- ipv6Cidrs List<String>
The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used.
The
cidrs
parameter lists the IPv4 addresses that are allowed to connect to an instance.- protocol String
- Port Protocol of the Instance.
- to
Port Number - To Port of the Instance.
InstanceState, InstanceStateArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.