Aws/lightsail
@swamp/aws/lightsailv2026.07.31.1
01README
AWS LIGHTSAIL infrastructure models
02Models
@swamp/aws/lightsail/alarmv2026.06.15.1alarm.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| AlarmName | string | The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm. |
| MonitoredResourceName | string | The name of the Lightsail resource that the alarm monitors. |
| MetricName | string | The name of the metric to associate with the alarm. |
| ComparisonOperator | string | The arithmetic operation to use when comparing the specified statistic to the threshold. The specified statistic value is used as the first operand. |
| ContactProtocols? | array | The contact protocols to use for the alarm, such as Email, SMS (text messaging), or both. |
| DatapointsToAlarm? | number | The number of data points that must be not within the specified threshold to trigger the alarm. If you are setting an "M out of N" alarm, this value (datapointsToAlarm) is the M. |
| EvaluationPeriods | number | The number of most recent periods over which data is compared to the specified threshold. If you are setting an "M out of N" alarm, this value (evaluationPeriods) is the N. |
| NotificationEnabled? | boolean | Indicates whether the alarm is enabled. Notifications are enabled by default if you don't specify this parameter. |
| NotificationTriggers? | array | The alarm states that trigger a notification. |
| Threshold | number | The value against which the specified statistic is compared. |
| TreatMissingData? | string | Sets how this alarm will handle missing data points. |
fn create()
Create a Lightsail Alarm
fn get(identifier: string)
Get a Lightsail Alarm
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Alarm |
fn update()
Update a Lightsail Alarm
fn delete(identifier: string)
Delete a Lightsail Alarm
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Alarm |
fn sync()
Sync Lightsail Alarm state from AWS
Resources
state(infinite)— Lightsail Alarm resource state
@swamp/aws/lightsail/bucketv2026.06.15.1bucket.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| BucketName | string | The name for the bucket. |
| BundleId | string | The ID of the bundle to use for the bucket. |
| ObjectVersioning? | boolean | Specifies whether to enable or disable versioning of objects in the bucket. |
| AccessRules? | object | An object that sets the public accessibility of objects in the specified bucket. |
| ResourcesReceivingAccess? | array | The names of the Lightsail resources for which to set bucket access. |
| ReadOnlyAccessAccounts? | array | An array of strings to specify the AWS account IDs that can access the bucket. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Bucket
fn get(identifier: string)
Get a Lightsail Bucket
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Bucket |
fn update()
Update a Lightsail Bucket
fn delete(identifier: string)
Delete a Lightsail Bucket
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Bucket |
fn sync()
Sync Lightsail Bucket state from AWS
Resources
state(infinite)— Lightsail Bucket resource state
@swamp/aws/lightsail/certificatev2026.06.15.1certificate.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| CertificateName | string | The name for the certificate. |
| DomainName | string | The domain name (e.g., example.com) for the certificate. |
| SubjectAlternativeNames? | array | An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Certificate
fn get(identifier: string)
Get a Lightsail Certificate
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Certificate |
fn update()
Update a Lightsail Certificate
fn delete(identifier: string)
Delete a Lightsail Certificate
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Certificate |
fn sync()
Sync Lightsail Certificate state from AWS
Resources
state(infinite)— Lightsail Certificate resource state
@swamp/aws/lightsail/containerv2026.06.15.1container.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ServiceName | string | The name for the container service. |
| Power | string | The power specification for the container service. |
| Scale | number | The scale specification for the container service. |
| PublicDomainNames? | array | The public domain names to use with the container service, such as example.com and www.example.com. |
| ContainerServiceDeployment? | object | Describes a container deployment configuration of an Amazon Lightsail container service. |
| IsDisabled? | boolean | A Boolean value to indicate whether the container service is disabled. |
| PrivateRegistryAccess? | object | A Boolean value to indicate whether the container service has access to private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Container
fn get(identifier: string)
Get a Lightsail Container
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Container |
fn update()
Update a Lightsail Container
fn delete(identifier: string)
Delete a Lightsail Container
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Container |
fn sync()
Sync Lightsail Container state from AWS
Resources
state(infinite)— Lightsail Container resource state
@swamp/aws/lightsail/databasev2026.06.15.1database.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| RelationalDatabaseName | string | The name to use for your new Lightsail database resource. |
| AvailabilityZone? | string | The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format. |
| RelationalDatabaseBlueprintId | string | The blueprint ID for your new database. A blueprint describes the major engine version of a database. |
| RelationalDatabaseBundleId | string | The bundle ID for your new database. A bundle describes the performance specifications for your database. |
| MasterDatabaseName | string | The name of the database to create when the Lightsail database resource is created. For MySQL, if this parameter isn't specified, no database is created in the database resource. For PostgreSQL, if this parameter isn't specified, a database named postgres is created in the database resource. |
| MasterUsername | string | The name for the master user. |
| MasterUserPassword? | string | The password for the master user. The password can include any printable ASCII character except "/", """, or "@". It cannot contain spaces. |
| PreferredBackupWindow? | string | The daily time range during which automated backups are created for your new database if automated backups are enabled. |
| PreferredMaintenanceWindow? | string | The weekly time range during which system maintenance can occur on your new database. |
| PubliclyAccessible? | boolean | Specifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database. |
| CaCertificateIdentifier? | string | Indicates the certificate that needs to be associated with the database. |
| BackupRetention? | boolean | When true, enables automated backup retention for your database. Updates are applied during the next maintenance window because this can result in an outage. |
| RotateMasterUserPassword? | boolean | When true, the master user password is changed to a new strong password generated by Lightsail. Use the get relational database master user password operation to get the new password. |
| RelationalDatabaseParameters? | array | Update one or more parameters of the relational database. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Database
fn get(identifier: string)
Get a Lightsail Database
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Database |
fn update()
Update a Lightsail Database
fn delete(identifier: string)
Delete a Lightsail Database
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Database |
fn sync()
Sync Lightsail Database state from AWS
Resources
state(infinite)— Lightsail Database resource state
@swamp/aws/lightsail/database-snapshotv2026.06.15.1database_snapshot.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| RelationalDatabaseName | string | The name of the database on which to base your new snapshot. |
| RelationalDatabaseSnapshotName | string | The name for your new database snapshot. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
| Location? | object | The Region name and Availability Zone where the database snapshot is located. |
fn create()
Create a Lightsail DatabaseSnapshot
fn get(identifier: string)
Get a Lightsail DatabaseSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail DatabaseSnapshot |
fn update()
Update a Lightsail DatabaseSnapshot
fn delete(identifier: string)
Delete a Lightsail DatabaseSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail DatabaseSnapshot |
fn sync()
Sync Lightsail DatabaseSnapshot state from AWS
Resources
state(infinite)— Lightsail DatabaseSnapshot resource state
@swamp/aws/lightsail/diskv2026.06.15.1disk.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DiskName | string | The names to use for your new Lightsail disk. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
| AddOns? | array | An array of objects representing the add-ons to enable for the new instance. |
| SizeInGb | number | Size of the Lightsail disk |
fn create()
Create a Lightsail Disk
fn get(identifier: string)
Get a Lightsail Disk
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Disk |
fn update()
Update a Lightsail Disk
fn delete(identifier: string)
Delete a Lightsail Disk
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Disk |
fn sync()
Sync Lightsail Disk state from AWS
Resources
state(infinite)— Lightsail Disk resource state
@swamp/aws/lightsail/disk-snapshotv2026.06.15.1disk_snapshot.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DiskSnapshotName | string | The name of the disk snapshot (e.g., my-disk-snapshot). |
| DiskName | string | The name of the source disk from which the snapshot was created. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
| Location? | object | The AWS Region and Availability Zone where the disk snapshot was created. |
fn create()
Create a Lightsail DiskSnapshot
fn get(identifier: string)
Get a Lightsail DiskSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail DiskSnapshot |
fn update()
Update a Lightsail DiskSnapshot
fn delete(identifier: string)
Delete a Lightsail DiskSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail DiskSnapshot |
fn sync()
Sync Lightsail DiskSnapshot state from AWS
Resources
state(infinite)— Lightsail DiskSnapshot resource state
@swamp/aws/lightsail/distributionv2026.06.15.1distribution.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DistributionName | string | The name for the distribution. |
| BundleId | string | The bundle ID to use for the distribution. |
| IpAddressType? | string | The IP address type for the distribution. |
| CacheBehaviors? | array | An array of objects that describe the per-path cache behavior for the distribution. |
| CacheBehaviorSettings? | object | An object that describes the cache behavior settings for the distribution. |
| DefaultCacheBehavior | object | An object that describes the default cache behavior for the distribution. |
| Origin | object | An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer. |
| IsEnabled? | boolean | Indicates whether the distribution is enabled. |
| CertificateName? | string | The certificate attached to the Distribution. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Distribution
fn get(identifier: string)
Get a Lightsail Distribution
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Distribution |
fn update()
Update a Lightsail Distribution
fn delete(identifier: string)
Delete a Lightsail Distribution
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Distribution |
fn sync()
Sync Lightsail Distribution state from AWS
Resources
state(infinite)— Lightsail Distribution resource state
@swamp/aws/lightsail/domainv2026.06.15.1domain.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DomainName | string | The name of the domain to manage in Lightsail. |
| DomainEntries? | array | An array of key-value pairs containing information about the domain entries. |
| Location? | object | The AWS Region and Availability Zone where the domain was created (read-only). |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Domain
fn get(identifier: string)
Get a Lightsail Domain
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Domain |
fn update()
Update a Lightsail Domain
fn delete(identifier: string)
Delete a Lightsail Domain
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Domain |
fn sync()
Sync Lightsail Domain state from AWS
Resources
state(infinite)— Lightsail Domain resource state
@swamp/aws/lightsail/instancev2026.06.15.1instance.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Hardware? | object | Hardware of the Instance. |
| Networking? | object | Networking of the Instance. |
| InstanceName | string | The names to use for your new Lightsail instance. |
| BundleId | string | The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0). |
| BlueprintId | 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). |
| AddOns? | array | An array of objects representing the add-ons to enable for the new instance. |
| UserData? | 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. |
| KeyPairName? | string | The name of your key pair. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail Instance
fn get(identifier: string)
Get a Lightsail Instance
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Instance |
fn update()
Update a Lightsail Instance
fn delete(identifier: string)
Delete a Lightsail Instance
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail Instance |
fn sync()
Sync Lightsail Instance state from AWS
Resources
state(infinite)— Lightsail Instance resource state
@swamp/aws/lightsail/instance-snapshotv2026.06.15.1instance_snapshot.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| InstanceSnapshotName | string | The name of the snapshot. |
| InstanceName | string | The instance from which the snapshot was created. |
| Location? | object | The region name and Availability Zone where you created the snapshot. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail InstanceSnapshot
fn get(identifier: string)
Get a Lightsail InstanceSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail InstanceSnapshot |
fn update()
Update a Lightsail InstanceSnapshot
fn delete(identifier: string)
Delete a Lightsail InstanceSnapshot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail InstanceSnapshot |
fn sync()
Sync Lightsail InstanceSnapshot state from AWS
Resources
state(infinite)— Lightsail InstanceSnapshot resource state
@swamp/aws/lightsail/load-balancerv2026.06.15.1load_balancer.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| LoadBalancerName | string | The name of your load balancer. |
| InstancePort | number | The instance port where you're creating your load balancer. |
| IpAddressType? | string | The IP address type for the load balancer. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack. |
| AttachedInstances? | array | The names of the instances attached to the load balancer. |
| HealthCheckPath? | string | The path you provided to perform the load balancer health check. If you didn\ |
| SessionStickinessEnabled? | boolean | Configuration option to enable session stickiness. |
| SessionStickinessLBCookieDurationSeconds? | string | Configuration option to adjust session stickiness cookie duration parameter. |
| TlsPolicyName? | string | The name of the TLS policy to apply to the load balancer. |
| Tags? | array | An array of key-value pairs to apply to this resource. |
fn create()
Create a Lightsail LoadBalancer
fn get(identifier: string)
Get a Lightsail LoadBalancer
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail LoadBalancer |
fn update()
Update a Lightsail LoadBalancer
fn delete(identifier: string)
Delete a Lightsail LoadBalancer
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail LoadBalancer |
fn sync()
Sync Lightsail LoadBalancer state from AWS
Resources
state(infinite)— Lightsail LoadBalancer resource state
@swamp/aws/lightsail/load-balancer-tls-certificatev2026.06.15.1load_balancer_tls_certificate.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| LoadBalancerName | string | The name of your load balancer. |
| CertificateName | string | The SSL/TLS certificate name. |
| CertificateDomainName | string | The domain name (e.g., example.com) for your SSL/TLS certificate. |
| CertificateAlternativeNames? | array | An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. |
| IsAttached? | boolean | When true, the SSL/TLS certificate is attached to the Lightsail load balancer. |
| HttpsRedirectionEnabled? | boolean | A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer. |
fn create()
Create a Lightsail LoadBalancerTlsCertificate
fn get(identifier: string)
Get a Lightsail LoadBalancerTlsCertificate
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail LoadBalancerTlsCertificate |
fn update()
Update a Lightsail LoadBalancerTlsCertificate
fn delete(identifier: string)
Delete a Lightsail LoadBalancerTlsCertificate
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail LoadBalancerTlsCertificate |
fn sync()
Sync Lightsail LoadBalancerTlsCertificate state from AWS
Resources
state(infinite)— Lightsail LoadBalancerTlsCertificate resource state
@swamp/aws/lightsail/static-ipv2026.06.15.1static_ip.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| StaticIpName | string | The name of the static IP address. |
| AttachedTo? | string | The instance where the static IP is attached. |
fn create()
Create a Lightsail StaticIp
fn get(identifier: string)
Get a Lightsail StaticIp
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail StaticIp |
fn update()
Update a Lightsail StaticIp
fn delete(identifier: string)
Delete a Lightsail StaticIp
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lightsail StaticIp |
fn sync()
Sync Lightsail StaticIp state from AWS
Resources
state(infinite)— Lightsail StaticIp resource state
03Previous Versions
2026.07.30.1
2026.07.29.1
2026.07.28.1
2026.07.27.1
2026.07.26.1
2026.07.25.1
2026.07.24.1
2026.07.20.1
2026.07.18.3
2026.07.18.2
2026.06.15.1
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.06.08.2
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.06.06.1
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.04.23.3
2026.04.23.2
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.04.03.2
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.03.19.1
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.03.16.1
- Updated: alarm, bucket, certificate, container, database, database_snapshot, disk, disk_snapshot, distribution, domain, instance, instance_snapshot, load_balancer, load_balancer_tls_certificate, static_ip
2026.03.10.5
04Stats
A
100 / 100
Downloads
0
Archive size
3.3 MB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels