Definitions for @turbot/aws-lightsail
- accessDirection
- accessType
- database
- instance
- instanceHealth
- instanceHealthReason
- lightsail
- lightsailAka
- loadBalancer
- protocol
- regionName
- resourceType
- state
accessDirection
Schema
{ "type": "string", "enum": [ "inbound", "outbound" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/accessDirection", "modUri": "tmod:@turbot/aws-lightsail" }}
accessType
Schema
{ "type": "string", "enum": [ "Public", "Private" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/accessType", "modUri": "tmod:@turbot/aws-lightsail" }}
database
Schema
{ "type": "object", "properties": { "arn": { "type": "string" }, "backupRetentionEnabled": { "type": "boolean" }, "caCertificateIdentifier": { "type": "string" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "engine": { "type": "string" }, "engineVersion": { "type": "string" }, "hardware": { "type": "object", "properties": { "cpuCount": { "type": "integer" }, "diskSizeInGb": { "type": "integer" }, "ramSizeInGb": { "type": "number" } } }, "latestRestorableTime": { "$ref": "turbot#/definitions/isoTimestamp" }, "location": { "type": "object", "properties": { "availabilityZone": { "type": "string" }, "regionName": { "$ref": "#/definitions/regionName" } } }, "masterDatabaseName": { "type": "string" }, "masterEndpoint": { "type": "object", "properties": { "address": { "type": "string" }, "port": { "type": "integer" } } }, "masterUsername": { "type": "string" }, "name": { "type": "string" }, "parameterApplyStatus": { "type": "string" }, "pendingMaintenanceActions": { "type": "array", "items": { "type": "object", "properties": { "action": { "type": "string" }, "currentApplyDate": { "$ref": "turbot#/definitions/isoTimestamp" }, "description": { "type": "string" } } } }, "pendingModifiedValues": { "type": "object", "properties": { "backupRetentionEnabled": { "type": "boolean" }, "engineVersion": { "type": "string" }, "masterUserPassword": { "type": "string" } } }, "preferredBackupWindow": { "type": "string" }, "preferredMaintenanceWindow": { "type": "string" }, "publiclyAccessible": { "type": "boolean" }, "relationalDatabaseBlueprintId": { "type": "string" }, "relationalDatabaseBundleId": { "type": "string" }, "resourceType": { "$ref": "#/definitions/resourceType" }, "secondaryAvailabilityZone": { "type": "string" }, "state": { "type": "string" }, "supportCode": { "type": "string" }, "tags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } } } }, "turbot": { "type": "object", "properties": { "metadata": { "type": "object", "properties": { "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" }, "aws": { "$ref": "aws#/definitions/awsMetadata" } } }, "tags": { "$ref": "aws#/definitions/tagsMap" } } } }, "additionalProperties": true, ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/database", "modUri": "tmod:@turbot/aws-lightsail" }}
instance
Schema
{ "type": "object", "properties": { "addOns": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "nextSnapshotTimeOfDay": { "type": "string" }, "snapshotTimeOfDay": { "type": "string" }, "status": { "type": "string" } } } }, "arn": { "type": "string" }, "blueprintId": { "type": "string" }, "blueprintName": { "type": "string" }, "bundleId": { "type": "string" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "hardware": { "type": "object", "properties": { "cpuCount": { "type": "integer" }, "disks": { "type": "object", "items": { "type": "object" }, "properties": { "addOns": { "type": "object", "items": { "type": "object" }, "properties": { "name": { "type": "string" }, "nextSnapshotTimeOfDay": { "type": "string" }, "snapshotTimeOfDay": { "type": "string" }, "status": { "type": "string" } } }, "arn": { "type": "string" }, "attachedTo": { "type": "string" }, "attachmentState": { "type": "string" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "gbInUse": { "type": "integer" }, "iops": { "type": "integer" }, "isAttached": { "type": "boolean" }, "isSystemDisk": { "type": "boolean" }, "location": { "type": "object", "properties": { "availabilityZone": { "type": "string" }, "regionName": { "$ref": "#/definitions/regionName" } } }, "name": { "type": "string" }, "path": { "type": "string" }, "resourceType": { "$ref": "#/definitions/resourceType" }, "sizeInGb": { "type": "integer" }, "state": { "$ref": "#/definitions/state" }, "supportCode": { "type": "string" }, "tags": { "type": "object", "items": { "type": "object" }, "properties": { "key": { "type": "string" }, "value": { "type": "string" } } } } }, "ramSizeInGb": { "type": "number" } } }, "ipv6Address": { "type": "string" }, "isStaticIp": { "type": "boolean" }, "location": { "type": "object", "properties": { "availabilityZone": { "type": "string" }, "regionName": { "$ref": "#/definitions/regionName" } } }, "name": { "type": "string" }, "networking": { "type": "object", "properties": { "monthlyTransfer": { "type": "object", "properties": { "gbPerMonthAllocated": { "type": "integer" } } }, "ports": { "type": "object", "items": { "type": "object" }, "properties": { "accessDirection": { "$ref": "#/definitions/accessDirection" }, "accessFrom": { "type": "string" }, "accessType": { "$ref": "#/definitions/accessType" }, "cidrListAliases": { "type": "array", "items": { "type": "string" } }, "cidrs": { "type": "array", "items": { "type": "string" } }, "commonName": { "type": "string" }, "fromPort": { "type": "integer" }, "protocol": { "$ref": "#/definitions/protocol" }, "toPort": { "type": "integer" } } } } }, "privateIpAddress": { "type": "string" }, "publicIpAddress": { "type": "string" }, "resourceType": { "$ref": "#/definitions/resourceType" }, "sshKeyName": { "type": "string" }, "state": { "type": "object", "properties": { "code": { "type": "integer" }, "name": { "type": "string" } } }, "supportCode": { "type": "string" }, "tags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } } } }, "username": { "type": "string" }, "turbot": { "type": "object", "properties": { "metadata": { "type": "object", "properties": { "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" }, "aws": { "$ref": "aws#/definitions/awsMetadata" } } }, "tags": { "$ref": "aws#/definitions/tagsMap" } } } }, "additionalProperties": true, ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/instance", "modUri": "tmod:@turbot/aws-lightsail" }}
instanceHealth
Schema
{ "type": "string", "enum": [ "initial", "healthy", "unhealthy", "unused", "draining", "unavailable" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/instanceHealth", "modUri": "tmod:@turbot/aws-lightsail" }}
instanceHealthReason
Schema
{ "type": "string", "enum": [ "Lb.RegistrationInProgress", "Lb.InitialHealthChecking", "Lb.InternalError", "Instance.ResponseCodeMismatch", "Instance.Timeout", "Instance.FailedHealthChecks", "Instance.NotRegistered", "Instance.NotInUse", "Instance.DeregistrationInProgress", "Instance.InvalidState", "Instance.IpUnusable" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/instanceHealthReason", "modUri": "tmod:@turbot/aws-lightsail" }}
lightsail
Schema
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "Lightsail" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/lightsailAka" } }, "title": { "const": "Lightsail" }, "custom": { "type": "object", "properties": { "aws": { "$ref": "aws#/definitions/awsMetadata" } } } } } }, "additionalProperties": true, "tests": [ { "description": "Valid - All properties", "input": { "name": "Lightsail", "turbot": { "akas": [ "arn:aws:lightsail:us-east-1:123456789012" ], "title": "Lightsail", "custom": { "aws": { "accountId": 123456789012, "regionName": "us-east-1", "partition": "aws" } } } } } ] } ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/lightsail", "modUri": "tmod:@turbot/aws-lightsail" }}
lightsailAka
Schema
{ "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:lightsail:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}$", "tests": [ { "description": "Base", "input": "arn:aws:lightsail:us-east-1:123456789012" }, { "description": "Invalid service name", "input": "arn:aws:amplifye:us-east-1:123456789012", "expected": false }, { "description": "Invalid region name", "input": "arn:aws:lightsail:us-eastdk-74381:123456786354", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/lightsailAka", "modUri": "tmod:@turbot/aws-lightsail" }}
loadBalancer
Schema
{ "type": "object", "properties": { "arn": { "type": "string" }, "configurationOptions": { "type": "object" }, "createdAt": { "$ref": "turbot#/definitions/isoTimestamp" }, "dnsName": { "type": "string" }, "healthCheckPath": { "type": "string" }, "instanceHealthSummary": { "type": "array", "items": { "type": "object", "properties": { "instanceHealth": { "$ref": "#/definitions/instanceHealth" }, "instanceHealthReason": { "$ref": "#/definitions/instanceHealthReason" }, "instanceName": { "type": "string" } } } }, "instancePort": { "type": "integer" }, "location": { "type": "object", "properties": { "availabilityZone": { "type": "string" }, "regionName": { "$ref": "#/definitions/regionName" } } }, "name": { "type": "string" }, "protocol": { "$ref": "#/definitions/protocol" }, "publicPorts": { "type": "array", "items": { "type": "integer" } }, "resourceType": { "$ref": "#/definitions/resourceType" }, "state": { "$ref": "#/definitions/state" }, "supportCode": { "type": "string" }, "tags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } } } }, "tlsCertificateSummaries": { "type": "array", "items": { "type": "object", "properties": { "isAttached": { "type": "boolean" }, "name": { "type": "string" } } } }, "turbot": { "type": "object", "properties": { "metadata": { "type": "object", "properties": { "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" }, "aws": { "$ref": "aws#/definitions/awsMetadata" } } }, "tags": { "$ref": "aws#/definitions/tagsMap" } } } }, "additionalProperties": true, ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/loadBalancer", "modUri": "tmod:@turbot/aws-lightsail" }}
protocol
Schema
{ "type": "string", "enum": [ "HTTP_HTTPS", "HTTP", "udp", "icmp" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/protocol", "modUri": "tmod:@turbot/aws-lightsail" }}
regionName
Schema
{ "type": "string", "enum": [ "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/regionName", "modUri": "tmod:@turbot/aws-lightsail" }}
resourceType
Schema
{ "type": "string", "enum": [ "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/resourceType", "modUri": "tmod:@turbot/aws-lightsail" }}
state
Schema
{ "type": "string", "enum": [ "active", "provisioning", "active_impaired", "failed", "unknown" ], ".turbot": { "uri": "tmod:@turbot/aws-lightsail#/definitions/state", "modUri": "tmod:@turbot/aws-lightsail" }}