Package-level declarations

Types

Link copied to clipboard
class Bucket : KotlinCustomResource

Provides a lightsail bucket.

Link copied to clipboard
class BucketAccessKey : KotlinCustomResource

Provides a lightsail bucket access key. This is a set of credentials that allow API requests to be made to the lightsail bucket.

Link copied to clipboard
data class BucketAccessKeyArgs(val bucketName: Output<String>? = null) : ConvertibleToJava<BucketAccessKeyArgs>

Provides a lightsail bucket access key. This is a set of credentials that allow API requests to be made to the lightsail bucket.

Link copied to clipboard
object BucketAccessKeyMapper : ResourceMapper<BucketAccessKey>
Link copied to clipboard
data class BucketArgs(val bundleId: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<BucketArgs>

Provides a lightsail bucket.

Link copied to clipboard

Builder for BucketArgs.

Link copied to clipboard
object BucketMapper : ResourceMapper<Bucket>
Link copied to clipboard
class BucketResourceAccess : KotlinCustomResource

Provides a lightsail resource access to a bucket.

Link copied to clipboard
data class BucketResourceAccessArgs(val bucketName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<BucketResourceAccessArgs>

Provides a lightsail resource access to a bucket.

Link copied to clipboard
Link copied to clipboard

Builder for Bucket.

Link copied to clipboard
class Certificate : KotlinCustomResource

Provides a lightsail certificate.

Link copied to clipboard
data class CertificateArgs(val domainName: Output<String>? = null, val name: Output<String>? = null, val subjectAlternativeNames: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CertificateArgs>

Provides a lightsail certificate.

Link copied to clipboard
Link copied to clipboard
object CertificateMapper : ResourceMapper<Certificate>
Link copied to clipboard
Link copied to clipboard
class ContainerService : KotlinCustomResource

An Amazon Lightsail container service is a highly scalable compute and networking resource on which you can deploy, run, and manage containers. For more information, see Container services in Amazon Lightsail.

Link copied to clipboard
data class ContainerServiceArgs(val isDisabled: Output<Boolean>? = null, val name: Output<String>? = null, val power: Output<String>? = null, val privateRegistryAccess: Output<ContainerServicePrivateRegistryAccessArgs>? = null, val publicDomainNames: Output<ContainerServicePublicDomainNamesArgs>? = null, val scale: Output<Int>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ContainerServiceArgs>

An Amazon Lightsail container service is a highly scalable compute and networking resource on which you can deploy, run, and manage containers. For more information, see Container services in Amazon Lightsail.

Link copied to clipboard
class ContainerServiceDeploymentVersion : KotlinCustomResource

Provides a resource to manage a deployment version for your Amazon Lightsail container service.

Link copied to clipboard
data class ContainerServiceDeploymentVersionArgs(val containers: Output<List<ContainerServiceDeploymentVersionContainerArgs>>? = null, val publicEndpoint: Output<ContainerServiceDeploymentVersionPublicEndpointArgs>? = null, val serviceName: Output<String>? = null) : ConvertibleToJava<ContainerServiceDeploymentVersionArgs>

Provides a resource to manage a deployment version for your Amazon Lightsail container service.

Link copied to clipboard
object ContainerServiceMapper : ResourceMapper<ContainerService>
Link copied to clipboard
class Database : KotlinCustomResource

Provides a Lightsail Database. Amazon Lightsail is a service to provide easy virtual private servers with custom software already setup. See What is Amazon Lightsail? for more information.

Link copied to clipboard
data class DatabaseArgs(val applyImmediately: Output<Boolean>? = null, val availabilityZone: Output<String>? = null, val backupRetentionEnabled: Output<Boolean>? = null, val blueprintId: Output<String>? = null, val bundleId: Output<String>? = null, val finalSnapshotName: Output<String>? = null, val masterDatabaseName: Output<String>? = null, val masterPassword: Output<String>? = null, val masterUsername: Output<String>? = null, val preferredBackupWindow: Output<String>? = null, val preferredMaintenanceWindow: Output<String>? = null, val publiclyAccessible: Output<Boolean>? = null, val relationalDatabaseName: Output<String>? = null, val skipFinalSnapshot: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DatabaseArgs>

Provides a Lightsail Database. Amazon Lightsail is a service to provide easy virtual private servers with custom software already setup. See What is Amazon Lightsail? for more information.

Link copied to clipboard
Link copied to clipboard
object DatabaseMapper : ResourceMapper<Database>
Link copied to clipboard
Link copied to clipboard
class Disk : KotlinCustomResource

Provides a Lightsail Disk resource.

Link copied to clipboard
class Disk_attachment : KotlinCustomResource

Attaches a Lightsail disk to a Lightsail Instance

Link copied to clipboard
data class Disk_attachmentArgs(val diskName: Output<String>? = null, val diskPath: Output<String>? = null, val instanceName: Output<String>? = null) : ConvertibleToJava<Disk_attachmentArgs>

Attaches a Lightsail disk to a Lightsail Instance

Link copied to clipboard
object Disk_attachmentMapper : ResourceMapper<Disk_attachment>
Link copied to clipboard
data class DiskArgs(val availabilityZone: Output<String>? = null, val name: Output<String>? = null, val sizeInGb: Output<Int>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DiskArgs>

Provides a Lightsail Disk resource.

Link copied to clipboard

Builder for DiskArgs.

Link copied to clipboard
object DiskMapper : ResourceMapper<Disk>
Link copied to clipboard

Builder for Disk.

Link copied to clipboard
class Distribution : KotlinCustomResource

Resource for managing an AWS Lightsail Distribution.

Link copied to clipboard
data class DistributionArgs(val bundleId: Output<String>? = null, val cacheBehaviorSettings: Output<DistributionCacheBehaviorSettingsArgs>? = null, val cacheBehaviors: Output<List<DistributionCacheBehaviorArgs>>? = null, val certificateName: Output<String>? = null, val defaultCacheBehavior: Output<DistributionDefaultCacheBehaviorArgs>? = null, val ipAddressType: Output<String>? = null, val isEnabled: Output<Boolean>? = null, val name: Output<String>? = null, val origin: Output<DistributionOriginArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DistributionArgs>

Resource for managing an AWS Lightsail Distribution.

Link copied to clipboard
Link copied to clipboard
object DistributionMapper : ResourceMapper<Distribution>
Link copied to clipboard
Link copied to clipboard
class Domain : KotlinCustomResource

Creates a domain resource for the specified domain (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.

Link copied to clipboard
data class DomainArgs(val domainName: Output<String>? = null) : ConvertibleToJava<DomainArgs>

Creates a domain resource for the specified domain (e.g., example.com). You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.

Link copied to clipboard

Builder for DomainArgs.

Link copied to clipboard
class DomainEntry : KotlinCustomResource

Creates a domain entry resource

Link copied to clipboard
data class DomainEntryArgs(val domainName: Output<String>? = null, val isAlias: Output<Boolean>? = null, val name: Output<String>? = null, val target: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DomainEntryArgs>

Creates a domain entry resource

Link copied to clipboard
Link copied to clipboard
object DomainEntryMapper : ResourceMapper<DomainEntry>
Link copied to clipboard
Link copied to clipboard
object DomainMapper : ResourceMapper<Domain>
Link copied to clipboard

Builder for Domain.

Link copied to clipboard
class Instance : KotlinCustomResource

Provides a Lightsail Instance. Amazon Lightsail is a service to provide easy virtual private servers with custom software already setup. See What is Amazon Lightsail? for more information.

Link copied to clipboard
data class InstanceArgs(val addOn: Output<InstanceAddOnArgs>? = null, val availabilityZone: Output<String>? = null, val blueprintId: Output<String>? = null, val bundleId: Output<String>? = null, val ipAddressType: Output<String>? = null, val keyPairName: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val userData: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Provides a Lightsail Instance. Amazon Lightsail is a service to provide easy virtual private servers with custom software already setup. See What is Amazon Lightsail? for more information.

Link copied to clipboard
Link copied to clipboard
object InstanceMapper : ResourceMapper<Instance>
Link copied to clipboard
class InstancePublicPorts : KotlinCustomResource

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.

Link copied to clipboard
data class InstancePublicPortsArgs(val instanceName: Output<String>? = null, val portInfos: Output<List<InstancePublicPortsPortInfoArgs>>? = null) : ConvertibleToJava<InstancePublicPortsArgs>

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class KeyPair : KotlinCustomResource

Provides a Lightsail Key Pair, for use with Lightsail Instances. These key pairs are separate from EC2 Key Pairs, and must be created or imported for use with Lightsail.

Link copied to clipboard
data class KeyPairArgs(val name: Output<String>? = null, val namePrefix: Output<String>? = null, val pgpKey: Output<String>? = null, val publicKey: Output<String>? = null) : ConvertibleToJava<KeyPairArgs>

Provides a Lightsail Key Pair, for use with Lightsail Instances. These key pairs are separate from EC2 Key Pairs, and must be created or imported for use with Lightsail.

Link copied to clipboard
Link copied to clipboard
object KeyPairMapper : ResourceMapper<KeyPair>
Link copied to clipboard
Link copied to clipboard
class Lb : KotlinCustomResource

Creates a Lightsail load balancer resource.

Link copied to clipboard
data class LbArgs(val healthCheckPath: Output<String>? = null, val instancePort: Output<Int>? = null, val ipAddressType: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LbArgs>

Creates a Lightsail load balancer resource.

Link copied to clipboard

Builder for LbArgs.

Link copied to clipboard
class LbAttachment : KotlinCustomResource

Attaches a Lightsail Instance to a Lightsail Load Balancer.

Link copied to clipboard
data class LbAttachmentArgs(val instanceName: Output<String>? = null, val lbName: Output<String>? = null) : ConvertibleToJava<LbAttachmentArgs>

Attaches a Lightsail Instance to a Lightsail Load Balancer.

Link copied to clipboard
Link copied to clipboard
object LbAttachmentMapper : ResourceMapper<LbAttachment>
Link copied to clipboard
Link copied to clipboard
class LbCertificate : KotlinCustomResource

Creates a Lightsail load balancer Certificate resource.

Link copied to clipboard
data class LbCertificateArgs(val domainName: Output<String>? = null, val lbName: Output<String>? = null, val name: Output<String>? = null, val subjectAlternativeNames: Output<List<String>>? = null) : ConvertibleToJava<LbCertificateArgs>

Creates a Lightsail load balancer Certificate resource.

Link copied to clipboard
Link copied to clipboard
class LbCertificateAttachment : KotlinCustomResource

Attaches a Lightsail Load Balancer Certificate to a Lightsail Load Balancer.

Link copied to clipboard
data class LbCertificateAttachmentArgs(val certificateName: Output<String>? = null, val lbName: Output<String>? = null) : ConvertibleToJava<LbCertificateAttachmentArgs>

Attaches a Lightsail Load Balancer Certificate to a Lightsail Load Balancer.

Link copied to clipboard
Link copied to clipboard
object LbCertificateMapper : ResourceMapper<LbCertificate>
Link copied to clipboard
Link copied to clipboard
class LbHttpsRedirectionPolicy : KotlinCustomResource

Configures Https Redirection for a Lightsail Load Balancer. A valid Certificate must be attached to the load balancer in order to enable https redirection.

Link copied to clipboard
data class LbHttpsRedirectionPolicyArgs(val enabled: Output<Boolean>? = null, val lbName: Output<String>? = null) : ConvertibleToJava<LbHttpsRedirectionPolicyArgs>

Configures Https Redirection for a Lightsail Load Balancer. A valid Certificate must be attached to the load balancer in order to enable https redirection.

Link copied to clipboard
object LbMapper : ResourceMapper<Lb>
Link copied to clipboard

Builder for Lb.

Link copied to clipboard
class LbStickinessPolicy : KotlinCustomResource

Configures Session Stickiness for a Lightsail Load Balancer.

Link copied to clipboard
data class LbStickinessPolicyArgs(val cookieDuration: Output<Int>? = null, val enabled: Output<Boolean>? = null, val lbName: Output<String>? = null) : ConvertibleToJava<LbStickinessPolicyArgs>

Configures Session Stickiness for a Lightsail Load Balancer.

Link copied to clipboard
Link copied to clipboard
class StaticIp : KotlinCustomResource

Allocates a static IP address.

Link copied to clipboard
data class StaticIpArgs(val name: Output<String>? = null) : ConvertibleToJava<StaticIpArgs>

Allocates a static IP address.

Link copied to clipboard
Link copied to clipboard
class StaticIpAttachment : KotlinCustomResource

Provides a static IP address attachment - relationship between a Lightsail static IP & Lightsail instance.

Link copied to clipboard
data class StaticIpAttachmentArgs(val instanceName: Output<String>? = null, val staticIpName: Output<String>? = null) : ConvertibleToJava<StaticIpAttachmentArgs>

Provides a static IP address attachment - relationship between a Lightsail static IP & Lightsail instance.

Link copied to clipboard
Link copied to clipboard
object StaticIpMapper : ResourceMapper<StaticIp>
Link copied to clipboard

Functions

Link copied to clipboard
fun bucket(name: String): Bucket
suspend fun bucket(name: String, block: suspend BucketResourceBuilder.() -> Unit): Bucket
Link copied to clipboard
Link copied to clipboard
suspend fun certificate(name: String, block: suspend CertificateResourceBuilder.() -> Unit): Certificate
Link copied to clipboard
Link copied to clipboard
suspend fun database(name: String, block: suspend DatabaseResourceBuilder.() -> Unit): Database
Link copied to clipboard
fun disk(name: String): Disk
suspend fun disk(name: String, block: suspend DiskResourceBuilder.() -> Unit): Disk
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun domain(name: String): Domain
suspend fun domain(name: String, block: suspend DomainResourceBuilder.() -> Unit): Domain
Link copied to clipboard
suspend fun domainEntry(name: String, block: suspend DomainEntryResourceBuilder.() -> Unit): DomainEntry
Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance
Link copied to clipboard
fun keyPair(name: String): KeyPair
suspend fun keyPair(name: String, block: suspend KeyPairResourceBuilder.() -> Unit): KeyPair
Link copied to clipboard
fun lb(name: String): Lb
suspend fun lb(name: String, block: suspend LbResourceBuilder.() -> Unit): Lb
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun staticIp(name: String, block: suspend StaticIpResourceBuilder.() -> Unit): StaticIp