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

Lightsail

import { Lightsail } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
class Lightsail {
constructor(apiFactory: client.ApiFactory);
async allocateStaticIp(params: AllocateStaticIpRequest, opts?: client.RequestOptions): Promise<AllocateStaticIpResult>;
async attachCertificateToDistribution(params: AttachCertificateToDistributionRequest, opts?: client.RequestOptions): Promise<AttachCertificateToDistributionResult>;
async attachDisk(params: AttachDiskRequest, opts?: client.RequestOptions): Promise<AttachDiskResult>;
async attachInstancesToLoadBalancer(params: AttachInstancesToLoadBalancerRequest, opts?: client.RequestOptions): Promise<AttachInstancesToLoadBalancerResult>;
async attachLoadBalancerTlsCertificate(params: AttachLoadBalancerTlsCertificateRequest, opts?: client.RequestOptions): Promise<AttachLoadBalancerTlsCertificateResult>;
async attachStaticIp(params: AttachStaticIpRequest, opts?: client.RequestOptions): Promise<AttachStaticIpResult>;
async closeInstancePublicPorts(params: CloseInstancePublicPortsRequest, opts?: client.RequestOptions): Promise<CloseInstancePublicPortsResult>;
async copySnapshot(params: CopySnapshotRequest, opts?: client.RequestOptions): Promise<CopySnapshotResult>;
async createBucket(params: CreateBucketRequest, opts?: client.RequestOptions): Promise<CreateBucketResult>;
async createBucketAccessKey(params: CreateBucketAccessKeyRequest, opts?: client.RequestOptions): Promise<CreateBucketAccessKeyResult>;
async createCertificate(params: CreateCertificateRequest, opts?: client.RequestOptions): Promise<CreateCertificateResult>;
async createCloudFormationStack(params: CreateCloudFormationStackRequest, opts?: client.RequestOptions): Promise<CreateCloudFormationStackResult>;
async createContactMethod(params: CreateContactMethodRequest, opts?: client.RequestOptions): Promise<CreateContactMethodResult>;
async createContainerService(params: CreateContainerServiceRequest, opts?: client.RequestOptions): Promise<CreateContainerServiceResult>;
async createContainerServiceDeployment(params: CreateContainerServiceDeploymentRequest, opts?: client.RequestOptions): Promise<CreateContainerServiceDeploymentResult>;
async createContainerServiceRegistryLogin(opts?: client.RequestOptions): Promise<CreateContainerServiceRegistryLoginResult>;
async createDisk(params: CreateDiskRequest, opts?: client.RequestOptions): Promise<CreateDiskResult>;
async createDiskFromSnapshot(params: CreateDiskFromSnapshotRequest, opts?: client.RequestOptions): Promise<CreateDiskFromSnapshotResult>;
async createDiskSnapshot(params: CreateDiskSnapshotRequest, opts?: client.RequestOptions): Promise<CreateDiskSnapshotResult>;
async createDistribution(params: CreateDistributionRequest, opts?: client.RequestOptions): Promise<CreateDistributionResult>;
async createDomain(params: CreateDomainRequest, opts?: client.RequestOptions): Promise<CreateDomainResult>;
async createDomainEntry(params: CreateDomainEntryRequest, opts?: client.RequestOptions): Promise<CreateDomainEntryResult>;
async createInstances(params: CreateInstancesRequest, opts?: client.RequestOptions): Promise<CreateInstancesResult>;
async createInstancesFromSnapshot(params: CreateInstancesFromSnapshotRequest, opts?: client.RequestOptions): Promise<CreateInstancesFromSnapshotResult>;
async createInstanceSnapshot(params: CreateInstanceSnapshotRequest, opts?: client.RequestOptions): Promise<CreateInstanceSnapshotResult>;
async createKeyPair(params: CreateKeyPairRequest, opts?: client.RequestOptions): Promise<CreateKeyPairResult>;
async createLoadBalancer(params: CreateLoadBalancerRequest, opts?: client.RequestOptions): Promise<CreateLoadBalancerResult>;
async createLoadBalancerTlsCertificate(params: CreateLoadBalancerTlsCertificateRequest, opts?: client.RequestOptions): Promise<CreateLoadBalancerTlsCertificateResult>;
async createRelationalDatabase(params: CreateRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<CreateRelationalDatabaseResult>;
async createRelationalDatabaseFromSnapshot(params: CreateRelationalDatabaseFromSnapshotRequest, opts?: client.RequestOptions): Promise<CreateRelationalDatabaseFromSnapshotResult>;
async createRelationalDatabaseSnapshot(params: CreateRelationalDatabaseSnapshotRequest, opts?: client.RequestOptions): Promise<CreateRelationalDatabaseSnapshotResult>;
async deleteAlarm(params: DeleteAlarmRequest, opts?: client.RequestOptions): Promise<DeleteAlarmResult>;
async deleteAutoSnapshot(params: DeleteAutoSnapshotRequest, opts?: client.RequestOptions): Promise<DeleteAutoSnapshotResult>;
async deleteBucket(params: DeleteBucketRequest, opts?: client.RequestOptions): Promise<DeleteBucketResult>;
async deleteBucketAccessKey(params: DeleteBucketAccessKeyRequest, opts?: client.RequestOptions): Promise<DeleteBucketAccessKeyResult>;
async deleteCertificate(params: DeleteCertificateRequest, opts?: client.RequestOptions): Promise<DeleteCertificateResult>;
async deleteContactMethod(params: DeleteContactMethodRequest, opts?: client.RequestOptions): Promise<DeleteContactMethodResult>;
async deleteContainerImage(params: DeleteContainerImageRequest, opts?: client.RequestOptions): Promise<void>;
async deleteContainerService(params: DeleteContainerServiceRequest, opts?: client.RequestOptions): Promise<void>;
async deleteDisk(params: DeleteDiskRequest, opts?: client.RequestOptions): Promise<DeleteDiskResult>;
async deleteDiskSnapshot(params: DeleteDiskSnapshotRequest, opts?: client.RequestOptions): Promise<DeleteDiskSnapshotResult>;
async deleteDistribution(params?: DeleteDistributionRequest, opts?: client.RequestOptions): Promise<DeleteDistributionResult>;
async deleteDomain(params: DeleteDomainRequest, opts?: client.RequestOptions): Promise<DeleteDomainResult>;
async deleteDomainEntry(params: DeleteDomainEntryRequest, opts?: client.RequestOptions): Promise<DeleteDomainEntryResult>;
async deleteInstance(params: DeleteInstanceRequest, opts?: client.RequestOptions): Promise<DeleteInstanceResult>;
async deleteInstanceSnapshot(params: DeleteInstanceSnapshotRequest, opts?: client.RequestOptions): Promise<DeleteInstanceSnapshotResult>;
async deleteKeyPair(params: DeleteKeyPairRequest, opts?: client.RequestOptions): Promise<DeleteKeyPairResult>;
async deleteKnownHostKeys(params: DeleteKnownHostKeysRequest, opts?: client.RequestOptions): Promise<DeleteKnownHostKeysResult>;
async deleteLoadBalancer(params: DeleteLoadBalancerRequest, opts?: client.RequestOptions): Promise<DeleteLoadBalancerResult>;
async deleteLoadBalancerTlsCertificate(params: DeleteLoadBalancerTlsCertificateRequest, opts?: client.RequestOptions): Promise<DeleteLoadBalancerTlsCertificateResult>;
async deleteRelationalDatabase(params: DeleteRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<DeleteRelationalDatabaseResult>;
async deleteRelationalDatabaseSnapshot(params: DeleteRelationalDatabaseSnapshotRequest, opts?: client.RequestOptions): Promise<DeleteRelationalDatabaseSnapshotResult>;
async detachCertificateFromDistribution(params: DetachCertificateFromDistributionRequest, opts?: client.RequestOptions): Promise<DetachCertificateFromDistributionResult>;
async detachDisk(params: DetachDiskRequest, opts?: client.RequestOptions): Promise<DetachDiskResult>;
async detachInstancesFromLoadBalancer(params: DetachInstancesFromLoadBalancerRequest, opts?: client.RequestOptions): Promise<DetachInstancesFromLoadBalancerResult>;
async detachStaticIp(params: DetachStaticIpRequest, opts?: client.RequestOptions): Promise<DetachStaticIpResult>;
async disableAddOn(params: DisableAddOnRequest, opts?: client.RequestOptions): Promise<DisableAddOnResult>;
async downloadDefaultKeyPair(opts?: client.RequestOptions): Promise<DownloadDefaultKeyPairResult>;
async enableAddOn(params: EnableAddOnRequest, opts?: client.RequestOptions): Promise<EnableAddOnResult>;
async exportSnapshot(params: ExportSnapshotRequest, opts?: client.RequestOptions): Promise<ExportSnapshotResult>;
async getActiveNames(params?: GetActiveNamesRequest, opts?: client.RequestOptions): Promise<GetActiveNamesResult>;
async getAlarms(params?: GetAlarmsRequest, opts?: client.RequestOptions): Promise<GetAlarmsResult>;
async getAutoSnapshots(params: GetAutoSnapshotsRequest, opts?: client.RequestOptions): Promise<GetAutoSnapshotsResult>;
async getBlueprints(params?: GetBlueprintsRequest, opts?: client.RequestOptions): Promise<GetBlueprintsResult>;
async getBucketAccessKeys(params: GetBucketAccessKeysRequest, opts?: client.RequestOptions): Promise<GetBucketAccessKeysResult>;
async getBucketBundles(params?: GetBucketBundlesRequest, opts?: client.RequestOptions): Promise<GetBucketBundlesResult>;
async getBucketMetricData(params: GetBucketMetricDataRequest, opts?: client.RequestOptions): Promise<GetBucketMetricDataResult>;
async getBuckets(params?: GetBucketsRequest, opts?: client.RequestOptions): Promise<GetBucketsResult>;
async getBundles(params?: GetBundlesRequest, opts?: client.RequestOptions): Promise<GetBundlesResult>;
async getCertificates(params?: GetCertificatesRequest, opts?: client.RequestOptions): Promise<GetCertificatesResult>;
async getCloudFormationStackRecords(params?: GetCloudFormationStackRecordsRequest, opts?: client.RequestOptions): Promise<GetCloudFormationStackRecordsResult>;
async getContactMethods(params?: GetContactMethodsRequest, opts?: client.RequestOptions): Promise<GetContactMethodsResult>;
async getContainerAPIMetadata(opts?: client.RequestOptions): Promise<GetContainerAPIMetadataResult>;
async getContainerImages(params: GetContainerImagesRequest, opts?: client.RequestOptions): Promise<GetContainerImagesResult>;
async getContainerLog(params: GetContainerLogRequest, opts?: client.RequestOptions): Promise<GetContainerLogResult>;
async getContainerServiceDeployments(params: GetContainerServiceDeploymentsRequest, opts?: client.RequestOptions): Promise<GetContainerServiceDeploymentsResult>;
async getContainerServiceMetricData(params: GetContainerServiceMetricDataRequest, opts?: client.RequestOptions): Promise<GetContainerServiceMetricDataResult>;
async getContainerServicePowers(opts?: client.RequestOptions): Promise<GetContainerServicePowersResult>;
async getContainerServices(params?: GetContainerServicesRequest, opts?: client.RequestOptions): Promise<ContainerServicesListResult>;
async getDisk(params: GetDiskRequest, opts?: client.RequestOptions): Promise<GetDiskResult>;
async getDisks(params?: GetDisksRequest, opts?: client.RequestOptions): Promise<GetDisksResult>;
async getDiskSnapshot(params: GetDiskSnapshotRequest, opts?: client.RequestOptions): Promise<GetDiskSnapshotResult>;
async getDiskSnapshots(params?: GetDiskSnapshotsRequest, opts?: client.RequestOptions): Promise<GetDiskSnapshotsResult>;
async getDistributionBundles(opts?: client.RequestOptions): Promise<GetDistributionBundlesResult>;
async getDistributionLatestCacheReset(params?: GetDistributionLatestCacheResetRequest, opts?: client.RequestOptions): Promise<GetDistributionLatestCacheResetResult>;
async getDistributionMetricData(params: GetDistributionMetricDataRequest, opts?: client.RequestOptions): Promise<GetDistributionMetricDataResult>;
async getDistributions(params?: GetDistributionsRequest, opts?: client.RequestOptions): Promise<GetDistributionsResult>;
async getDomain(params: GetDomainRequest, opts?: client.RequestOptions): Promise<GetDomainResult>;
async getDomains(params?: GetDomainsRequest, opts?: client.RequestOptions): Promise<GetDomainsResult>;
async getExportSnapshotRecords(params?: GetExportSnapshotRecordsRequest, opts?: client.RequestOptions): Promise<GetExportSnapshotRecordsResult>;
async getInstance(params: GetInstanceRequest, opts?: client.RequestOptions): Promise<GetInstanceResult>;
async getInstanceAccessDetails(params: GetInstanceAccessDetailsRequest, opts?: client.RequestOptions): Promise<GetInstanceAccessDetailsResult>;
async getInstanceMetricData(params: GetInstanceMetricDataRequest, opts?: client.RequestOptions): Promise<GetInstanceMetricDataResult>;
async getInstancePortStates(params: GetInstancePortStatesRequest, opts?: client.RequestOptions): Promise<GetInstancePortStatesResult>;
async getInstances(params?: GetInstancesRequest, opts?: client.RequestOptions): Promise<GetInstancesResult>;
async getInstanceSnapshot(params: GetInstanceSnapshotRequest, opts?: client.RequestOptions): Promise<GetInstanceSnapshotResult>;
async getInstanceSnapshots(params?: GetInstanceSnapshotsRequest, opts?: client.RequestOptions): Promise<GetInstanceSnapshotsResult>;
async getInstanceState(params: GetInstanceStateRequest, opts?: client.RequestOptions): Promise<GetInstanceStateResult>;
async getKeyPair(params: GetKeyPairRequest, opts?: client.RequestOptions): Promise<GetKeyPairResult>;
async getKeyPairs(params?: GetKeyPairsRequest, opts?: client.RequestOptions): Promise<GetKeyPairsResult>;
async getLoadBalancer(params: GetLoadBalancerRequest, opts?: client.RequestOptions): Promise<GetLoadBalancerResult>;
async getLoadBalancerMetricData(params: GetLoadBalancerMetricDataRequest, opts?: client.RequestOptions): Promise<GetLoadBalancerMetricDataResult>;
async getLoadBalancers(params?: GetLoadBalancersRequest, opts?: client.RequestOptions): Promise<GetLoadBalancersResult>;
async getLoadBalancerTlsCertificates(params: GetLoadBalancerTlsCertificatesRequest, opts?: client.RequestOptions): Promise<GetLoadBalancerTlsCertificatesResult>;
async getOperation(params: GetOperationRequest, opts?: client.RequestOptions): Promise<GetOperationResult>;
async getOperations(params?: GetOperationsRequest, opts?: client.RequestOptions): Promise<GetOperationsResult>;
async getOperationsForResource(params: GetOperationsForResourceRequest, opts?: client.RequestOptions): Promise<GetOperationsForResourceResult>;
async getRegions(params?: GetRegionsRequest, opts?: client.RequestOptions): Promise<GetRegionsResult>;
async getRelationalDatabase(params: GetRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseResult>;
async getRelationalDatabaseBlueprints(params?: GetRelationalDatabaseBlueprintsRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseBlueprintsResult>;
async getRelationalDatabaseBundles(params?: GetRelationalDatabaseBundlesRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseBundlesResult>;
async getRelationalDatabaseEvents(params: GetRelationalDatabaseEventsRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseEventsResult>;
async getRelationalDatabaseLogEvents(params: GetRelationalDatabaseLogEventsRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseLogEventsResult>;
async getRelationalDatabaseLogStreams(params: GetRelationalDatabaseLogStreamsRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseLogStreamsResult>;
async getRelationalDatabaseMasterUserPassword(params: GetRelationalDatabaseMasterUserPasswordRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseMasterUserPasswordResult>;
async getRelationalDatabaseMetricData(params: GetRelationalDatabaseMetricDataRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseMetricDataResult>;
async getRelationalDatabaseParameters(params: GetRelationalDatabaseParametersRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseParametersResult>;
async getRelationalDatabases(params?: GetRelationalDatabasesRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabasesResult>;
async getRelationalDatabaseSnapshot(params: GetRelationalDatabaseSnapshotRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseSnapshotResult>;
async getRelationalDatabaseSnapshots(params?: GetRelationalDatabaseSnapshotsRequest, opts?: client.RequestOptions): Promise<GetRelationalDatabaseSnapshotsResult>;
async getStaticIp(params: GetStaticIpRequest, opts?: client.RequestOptions): Promise<GetStaticIpResult>;
async getStaticIps(params?: GetStaticIpsRequest, opts?: client.RequestOptions): Promise<GetStaticIpsResult>;
async importKeyPair(params: ImportKeyPairRequest, opts?: client.RequestOptions): Promise<ImportKeyPairResult>;
async isVpcPeered(opts?: client.RequestOptions): Promise<IsVpcPeeredResult>;
async openInstancePublicPorts(params: OpenInstancePublicPortsRequest, opts?: client.RequestOptions): Promise<OpenInstancePublicPortsResult>;
async peerVpc(opts?: client.RequestOptions): Promise<PeerVpcResult>;
async putAlarm(params: PutAlarmRequest, opts?: client.RequestOptions): Promise<PutAlarmResult>;
async putInstancePublicPorts(params: PutInstancePublicPortsRequest, opts?: client.RequestOptions): Promise<PutInstancePublicPortsResult>;
async rebootInstance(params: RebootInstanceRequest, opts?: client.RequestOptions): Promise<RebootInstanceResult>;
async rebootRelationalDatabase(params: RebootRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<RebootRelationalDatabaseResult>;
async registerContainerImage(params: RegisterContainerImageRequest, opts?: client.RequestOptions): Promise<RegisterContainerImageResult>;
async releaseStaticIp(params: ReleaseStaticIpRequest, opts?: client.RequestOptions): Promise<ReleaseStaticIpResult>;
async resetDistributionCache(params?: ResetDistributionCacheRequest, opts?: client.RequestOptions): Promise<ResetDistributionCacheResult>;
async sendContactMethodVerification(params: SendContactMethodVerificationRequest, opts?: client.RequestOptions): Promise<SendContactMethodVerificationResult>;
async setIpAddressType(params: SetIpAddressTypeRequest, opts?: client.RequestOptions): Promise<SetIpAddressTypeResult>;
async setResourceAccessForBucket(params: SetResourceAccessForBucketRequest, opts?: client.RequestOptions): Promise<SetResourceAccessForBucketResult>;
async startInstance(params: StartInstanceRequest, opts?: client.RequestOptions): Promise<StartInstanceResult>;
async startRelationalDatabase(params: StartRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<StartRelationalDatabaseResult>;
async stopInstance(params: StopInstanceRequest, opts?: client.RequestOptions): Promise<StopInstanceResult>;
async stopRelationalDatabase(params: StopRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<StopRelationalDatabaseResult>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<TagResourceResult>;
async testAlarm(params: TestAlarmRequest, opts?: client.RequestOptions): Promise<TestAlarmResult>;
async unpeerVpc(opts?: client.RequestOptions): Promise<UnpeerVpcResult>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<UntagResourceResult>;
async updateBucket(params: UpdateBucketRequest, opts?: client.RequestOptions): Promise<UpdateBucketResult>;
async updateBucketBundle(params: UpdateBucketBundleRequest, opts?: client.RequestOptions): Promise<UpdateBucketBundleResult>;
async updateContainerService(params: UpdateContainerServiceRequest, opts?: client.RequestOptions): Promise<UpdateContainerServiceResult>;
async updateDistribution(params: UpdateDistributionRequest, opts?: client.RequestOptions): Promise<UpdateDistributionResult>;
async updateDistributionBundle(params?: UpdateDistributionBundleRequest, opts?: client.RequestOptions): Promise<UpdateDistributionBundleResult>;
async updateDomainEntry(params: UpdateDomainEntryRequest, opts?: client.RequestOptions): Promise<UpdateDomainEntryResult>;
async updateLoadBalancerAttribute(params: UpdateLoadBalancerAttributeRequest, opts?: client.RequestOptions): Promise<UpdateLoadBalancerAttributeResult>;
async updateRelationalDatabase(params: UpdateRelationalDatabaseRequest, opts?: client.RequestOptions): Promise<UpdateRelationalDatabaseResult>;
async updateRelationalDatabaseParameters(params: UpdateRelationalDatabaseParametersRequest, opts?: client.RequestOptions): Promise<UpdateRelationalDatabaseParametersResult>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Lightsail(apiFactory: client.ApiFactory)
[src]

§Methods

§

Allocates a static IP address.

§

Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.

After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate.

Use the CreateCertificate action to create a certificate that you can attach to your distribution.

! IMPORTANT: ! Only certificates created in the us-east-1 AWS Region can be attached to Lightsail distributions. ! Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. ! However, all distributions are located in the us-east-1 Region.

§
attachDisk(params: AttachDiskRequest, opts?: client.RequestOptions): Promise<AttachDiskResult>
[src]

Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.

The attach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.

§

Attaches one or more Lightsail instances to a load balancer.

After some time, the instances are attached to the load balancer and the health check status is available.

The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Developer Guide.

§

Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate action with the non-attached certificate, and it will replace the existing one and become the attached certificate.

The AttachLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Attaches a static IP address to a specific Amazon Lightsail instance.

§

Closes ports for a specific Amazon Lightsail instance.

The CloseInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.

§
copySnapshot(params: CopySnapshotRequest, opts?: client.RequestOptions): Promise<CopySnapshotResult>
[src]

Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to another in Amazon Lightsail.

When copying a manual snapshot, be sure to define the source region, source snapshot name, and target snapshot name parameters.

When copying an automatic snapshot, be sure to define the source region, source resource name, target snapshot name, and either the restore date or the use latest restorable auto snapshot parameters.

§
createBucket(params: CreateBucketRequest, opts?: client.RequestOptions): Promise<CreateBucketResult>
[src]

Creates an Amazon Lightsail bucket.

A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.

§

Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and corresponding secret access key.

Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the "GetBucketAccessKeys" action to get a list of current access keys for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

! IMPORTANT: ! The secretAccessKey value is returned only in response to the CreateBucketAccessKey action. ! You can get a secret access key only when you first create an access key; you cannot get the secret access key later. ! If you lose the secret access key, you must create a new access key.

§

Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.

After the certificate is valid, use the AttachCertificateToDistribution action to use the certificate and its domains with your distribution. Or use the UpdateContainerService action to use the certificate and its domains with your container service.

! IMPORTANT: ! Only certificates created in the us-east-1 AWS Region can be attached to Lightsail distributions. ! Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. ! However, all distributions are located in the us-east-1 Region.

§

Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created.

! IMPORTANT: ! Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.

§

Creates an email or SMS text message contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

§

Creates an Amazon Lightsail container service.

A Lightsail container service is a compute resource to which you can deploy containers. For more information, see Container services in Amazon Lightsail in the Lightsail Dev Guide.

§

Creates a deployment for your Amazon Lightsail container service.

A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration.

You can deploy containers to your container service using container images from a public registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.

§
createContainerServiceRegistryLogin(opts?: client.RequestOptions): Promise<CreateContainerServiceRegistryLoginResult>
[src]

Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials.

Note: You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry.

After you push your container images to the container image registry of your Lightsail account, use the RegisterContainerImage action to register the pushed images to a specific Lightsail container service.

Note: This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.

§
createDisk(params: CreateDiskRequest, opts?: client.RequestOptions): Promise<CreateDiskResult>
[src]

Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a).

The create disk operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a).

The create disk from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.

You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.

You can also use this operation to create a snapshot of an instance's system volume. You might want to do this, for example, to recover data from the system volume of a botched instance or to create a backup of the system volume like you would for a block storage disk. To create a snapshot of a system volume, just define the instance name parameter when issuing the snapshot command, and a snapshot of the defined instance's system volume will be created. After the snapshot is available, you can create a block storage disk from the snapshot and attach it to a running instance to access the data on the disk.

The create disk snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates an Amazon Lightsail content delivery network (CDN) distribution.

A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.

§
createDomain(params: CreateDomainRequest, opts?: client.RequestOptions): Promise<CreateDomainResult>
[src]

Creates a domain resource for the specified domain (e.g., example.com).

The create domain operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates one of the following domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

The create domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

§

Creates one or more Amazon Lightsail instances.

The create instances operation supports tag-based access control via request tags. For more information, see the Lightsail Developer Guide.

§

Creates one or more new instances from a manual or automatic snapshot of an instance.

The create instances from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.

The create instance snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates an SSH key pair.

The create key pair operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 5 load balancers per AWS Region in your account.

When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation.

The create load balancer operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

The CreateLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a new database in Amazon Lightsail.

The create relational database operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a new database from an existing database snapshot in Amazon Lightsail.

You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan.

The create relational database from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more information, see the Amazon Lightsail Developer Guide.

§

Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.

The create relational database snapshot operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

§
deleteAlarm(params: DeleteAlarmRequest, opts?: client.RequestOptions): Promise<DeleteAlarmResult>
[src]

Deletes an alarm.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.

§

Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

§
deleteBucket(params: DeleteBucketRequest, opts?: client.RequestOptions): Promise<DeleteBucketResult>
[src]

Deletes a Amazon Lightsail bucket.

Note: When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another AWS account.

§

Deletes an access key for the specified Amazon Lightsail bucket.

We recommend that you delete an access key if the secret access key is compromised.

For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

§

Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.

Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.

§

Deletes a contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

§
deleteContainerImage(params: DeleteContainerImageRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a container image that is registered to your Amazon Lightsail container service.

§
deleteContainerService(params: DeleteContainerServiceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes your Amazon Lightsail container service.

§
deleteDisk(params: DeleteDiskRequest, opts?: client.RequestOptions): Promise<DeleteDiskResult>
[src]

Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).

Note: The disk may remain in the deleting state for several minutes.

The delete disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes the specified disk snapshot.

When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.

The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes your Amazon Lightsail content delivery network (CDN) distribution.

§
deleteDomain(params: DeleteDomainRequest, opts?: client.RequestOptions): Promise<DeleteDomainResult>
[src]

Deletes the specified domain recordset and all of its domain records.

The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes a specific domain entry.

The delete domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes an Amazon Lightsail instance.

The delete instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes a specific snapshot of a virtual private server (or instance).

The delete instance snapshot operation supports tag-based access control via resource tags applied to the resource identified by instance snapshot name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes a specific SSH key pair.

The delete key pair operation supports tag-based access control via resource tags applied to the resource identified by key pair name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.

! IMPORTANT: ! Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. ! For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.

§

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.

The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

The DeleteLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes a database in Amazon Lightsail.

The delete relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§

Deletes a database snapshot in Amazon Lightsail.

The delete relational database snapshot operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§

Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution.

After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.

§
detachDisk(params: DetachDiskRequest, opts?: client.RequestOptions): Promise<DetachDiskResult>
[src]

Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.

The detach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Amazon Lightsail Developer Guide.

§

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Detaches a static IP from the Amazon Lightsail instance to which it is attached.

§
disableAddOn(params: DisableAddOnRequest, opts?: client.RequestOptions): Promise<DisableAddOnResult>
[src]

Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

§
downloadDefaultKeyPair(opts?: client.RequestOptions): Promise<DownloadDefaultKeyPairResult>
[src]

Downloads the default SSH key pair from the user's account.

§
enableAddOn(params: EnableAddOnRequest, opts?: client.RequestOptions): Promise<EnableAddOnResult>
[src]

Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

§

Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the create cloud formation stack operation to create new Amazon EC2 instances.

Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.

The export snapshot operation supports tag-based access control via resource tags applied to the resource identified by source snapshot name. For more information, see the Amazon Lightsail Developer Guide.

Note: Use the get instance snapshots or get disk snapshots operations to get a list of snapshots that you can export to Amazon EC2.

§
getActiveNames(params?: GetActiveNamesRequest, opts?: client.RequestOptions): Promise<GetActiveNamesResult>
[src]

Returns the names of all active (not deleted) resources.

§
getAlarms(params?: GetAlarmsRequest, opts?: client.RequestOptions): Promise<GetAlarmsResult>
[src]

Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.

§

Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

§
getBlueprints(params?: GetBlueprintsRequest, opts?: client.RequestOptions): Promise<GetBlueprintsResult>
[src]

Returns the list of available instance images, or blueprints. You can use a blueprint to create a new instance already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.

Note: Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

§

Returns the existing access key IDs for the specified Amazon Lightsail bucket.

! IMPORTANT: ! This action does not return the secret access key value of an access key. ! You can get a secret access key only when you create it from the response of the "CreateBucketAccessKey" action. ! If you lose the secret access key, you must create a new access key.

§

Returns the bundles that you can apply to a Amazon Lightsail bucket.

The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.

Use the "UpdateBucketBundle" action to update the bundle for a bucket.

§

Returns the data points of a specific metric for an Amazon Lightsail bucket.

Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.

§
getBuckets(params?: GetBucketsRequest, opts?: client.RequestOptions): Promise<GetBucketsResult>
[src]

Returns information about one or more Amazon Lightsail buckets.

For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide..

§
getBundles(params?: GetBundlesRequest, opts?: client.RequestOptions): Promise<GetBundlesResult>
[src]

Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).

§
getCertificates(params?: GetCertificatesRequest, opts?: client.RequestOptions): Promise<GetCertificatesResult>
[src]

Returns information about one or more Amazon Lightsail SSL/TLS certificates.

Note: To get a summary of a certificate, ommit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

§

Returns the CloudFormation stack record created as a result of the create cloud formation stack operation.

An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.

§

Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

§
getContainerAPIMetadata(opts?: client.RequestOptions): Promise<GetContainerAPIMetadataResult>
[src]

Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.

§

Returns the container images that are registered to your Amazon Lightsail container service.

Note: If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.

§

Returns the log events of a container of your Amazon Lightsail container service.

If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service.

Note: Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.

§

Returns the deployments for your Amazon Lightsail container service

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.

Note: A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.

§

Returns the data points of a specific metric of your Amazon Lightsail container service.

Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

§
getContainerServicePowers(opts?: client.RequestOptions): Promise<GetContainerServicePowersResult>
[src]

Returns the list of powers that can be specified for your Amazon Lightsail container services.

The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.

§

Returns information about one or more of your Amazon Lightsail container services.

§
getDisk(params: GetDiskRequest, opts?: client.RequestOptions): Promise<GetDiskResult>
[src]

Returns information about a specific block storage disk.

§
getDisks(params?: GetDisksRequest, opts?: client.RequestOptions): Promise<GetDisksResult>
[src]

Returns information about all block storage disks in your AWS account and region.

§

Returns information about a specific block storage disk snapshot.

§

Returns information about all block storage disk snapshots in your AWS account and region.

§
getDistributionBundles(opts?: client.RequestOptions): Promise<GetDistributionBundlesResult>
[src]

Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.

§

Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.

§

Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.

Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

§

Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.

§
getDomain(params: GetDomainRequest, opts?: client.RequestOptions): Promise<GetDomainResult>
[src]

Returns information about a specific domain recordset.

§
getDomains(params?: GetDomainsRequest, opts?: client.RequestOptions): Promise<GetDomainsResult>
[src]

Returns a list of all domains in the user's account.

§

Returns all export snapshot records created as a result of the export snapshot operation.

An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the "CreateCloudFormationStack" action.

§
getInstance(params: GetInstanceRequest, opts?: client.RequestOptions): Promise<GetInstanceResult>
[src]

Returns information about a specific Amazon Lightsail instance, which is a virtual private server.

§

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

§

Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.

Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

§

Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

§
getInstances(params?: GetInstancesRequest, opts?: client.RequestOptions): Promise<GetInstancesResult>
[src]

Returns information about all Amazon Lightsail virtual private servers, or instances.

§

Returns information about a specific instance snapshot.

§

Returns all instance snapshots for the user's account.

§

Returns the state of a specific instance. Works on one instance at a time.

§
getKeyPair(params: GetKeyPairRequest, opts?: client.RequestOptions): Promise<GetKeyPairResult>
[src]

Returns information about a specific key pair.

§
getKeyPairs(params?: GetKeyPairsRequest, opts?: client.RequestOptions): Promise<GetKeyPairsResult>
[src]

Returns information about all key pairs in the user's account.

§

Returns information about the specified Lightsail load balancer.

§

Returns information about health metrics for your Lightsail load balancer.

Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

§

Returns information about all load balancers in an account.

§

Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.

§
getOperation(params: GetOperationRequest, opts?: client.RequestOptions): Promise<GetOperationResult>
[src]

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

§
getOperations(params?: GetOperationsRequest, opts?: client.RequestOptions): Promise<GetOperationsResult>
[src]

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

§

Gets operations for a specific resource (e.g., an instance or a static IP).

§
getRegions(params?: GetRegionsRequest, opts?: client.RequestOptions): Promise<GetRegionsResult>
[src]

Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.

§

Returns information about a specific database in Amazon Lightsail.

§

Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.

You can use a blueprint ID to create a new database that runs a specific database engine.

§

Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.

You can use a bundle ID to create a new database with explicit performance specifications.

§

Returns a list of events for a specific database in Amazon Lightsail.

§

Returns a list of log events for a database in Amazon Lightsail.

§

Returns a list of available log streams for a specific database in Amazon Lightsail.

§

Returns the current, previous, or pending versions of the master user password for a Lightsail database.

The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.

§

Returns the data points of the specified metric for a database in Amazon Lightsail.

Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.

§

Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.

In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.

§

Returns information about all of your databases in Amazon Lightsail.

§

Returns information about a specific database snapshot in Amazon Lightsail.

§

Returns information about all of your database snapshots in Amazon Lightsail.

§
getStaticIp(params: GetStaticIpRequest, opts?: client.RequestOptions): Promise<GetStaticIpResult>
[src]

Returns information about an Amazon Lightsail static IP.

§
getStaticIps(params?: GetStaticIpsRequest, opts?: client.RequestOptions): Promise<GetStaticIpsResult>
[src]

Returns information about all static IPs in the user's account.

§

Imports a public SSH key from a specific key pair.

§
isVpcPeered(opts?: client.RequestOptions): Promise<IsVpcPeeredResult>
[src]

Returns a Boolean value indicating whether your Lightsail VPC is peered.

§

Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.

The OpenInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.

§
peerVpc(opts?: client.RequestOptions): Promise<PeerVpcResult>
[src]

Peers the Lightsail VPC with the user's default VPC.

§
putAlarm(params: PutAlarmRequest, opts?: client.RequestOptions): Promise<PutAlarmResult>
[src]

Creates or updates an alarm, and associates it with the specified metric.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.

When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.

When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.

§

Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your PutInstancePublicPortsrequest. Or use the OpenInstancePublicPorts action to open ports without closing currently open ports.

The PutInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.

§

Restarts a specific instance.

The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

§

Restarts a specific database in Amazon Lightsail.

The reboot relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§

Registers a container image to your Amazon Lightsail container service.

Note: This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.

§

Deletes a specific static IP from your account.

§

Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.

After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.

§

Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.

! IMPORTANT: ! Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.

§

Sets the IP address type for an Amazon Lightsail resource.

Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.

§

Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.

Lightsail buckets currently support setting access for Lightsail instances in the same AWS Region.

§

Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.

Note: When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

The start instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

§

Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation.

The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§
stopInstance(params: StopInstanceRequest, opts?: client.RequestOptions): Promise<StopInstanceResult>
[src]

Stops a specific Amazon Lightsail instance that is currently running.

Note: When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.

The stop instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

§

Stops a specific database that is currently running in Amazon Lightsail.

The stop relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<TagResourceResult>
[src]

Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.

§
testAlarm(params: TestAlarmRequest, opts?: client.RequestOptions): Promise<TestAlarmResult>
[src]

Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (Email and/or SMS) configured for the alarm.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.

§
unpeerVpc(opts?: client.RequestOptions): Promise<UnpeerVpcResult>
[src]

Unpeers the Lightsail VPC from the user's default VPC.

§

Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Amazon Lightsail Developer Guide.

§
updateBucket(params: UpdateBucketRequest, opts?: client.RequestOptions): Promise<UpdateBucketResult>
[src]

Updates an existing Amazon Lightsail bucket.

Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the AWS accounts that can access the bucket.

§

Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly AWS billing cycle. To determine if you can update a bucket's bundle, use the "GetBuckets" action. The ableToUpdateBundle parameter in the response will indicate whether you can currently update a bucket's bundle.

Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.

§

Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.

§

Updates an existing Amazon Lightsail content delivery network (CDN) distribution.

Use this action to update the configuration of your existing distribution.

§

Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.

A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.

Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.

You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if you can update your distribution's bundle, use the GetDistributions action. The ableToUpdateBundle parameter in the result will indicate whether you can currently update your distribution's bundle.

§

Updates a domain recordset after it is created.

The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

§

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

§

Allows the update of one or more attributes of a database in Amazon Lightsail.

Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.

The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§

Allows the update of one or more parameters of a database in Amazon Lightsail.

Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation.

The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

§Static Properties