Skip to content

Literals

Index > Lightsail > Literals

Auto-generated documentation for Lightsail type annotations stubs module mypy-boto3-lightsail.

AccessDirectionType

Usage Example
from mypy_boto3_lightsail.literals import AccessDirectionType

def get_value() -> AccessDirectionType:
    return "inbound"
Definition
AccessDirectionType = Literal[
    "inbound",
    "outbound",
]

AccessTypeType

Usage Example
from mypy_boto3_lightsail.literals import AccessTypeType

def get_value() -> AccessTypeType:
    return "private"
Definition
AccessTypeType = Literal[
    "private",
    "public",
]

AccountLevelBpaSyncStatusType

Usage Example
from mypy_boto3_lightsail.literals import AccountLevelBpaSyncStatusType

def get_value() -> AccountLevelBpaSyncStatusType:
    return "Defaulted"
Definition
AccountLevelBpaSyncStatusType = Literal[
    "Defaulted",
    "Failed",
    "InSync",
    "NeverSynced",
]

AddOnTypeType

Usage Example
from mypy_boto3_lightsail.literals import AddOnTypeType

def get_value() -> AddOnTypeType:
    return "AutoSnapshot"
Definition
AddOnTypeType = Literal[
    "AutoSnapshot",
]

AlarmStateType

Usage Example
from mypy_boto3_lightsail.literals import AlarmStateType

def get_value() -> AlarmStateType:
    return "ALARM"
Definition
AlarmStateType = Literal[
    "ALARM",
    "INSUFFICIENT_DATA",
    "OK",
]

AutoSnapshotStatusType

Usage Example
from mypy_boto3_lightsail.literals import AutoSnapshotStatusType

def get_value() -> AutoSnapshotStatusType:
    return "Failed"
Definition
AutoSnapshotStatusType = Literal[
    "Failed",
    "InProgress",
    "NotFound",
    "Success",
]

BPAStatusMessageType

Usage Example
from mypy_boto3_lightsail.literals import BPAStatusMessageType

def get_value() -> BPAStatusMessageType:
    return "DEFAULTED_FOR_SLR_MISSING"
Definition
BPAStatusMessageType = Literal[
    "DEFAULTED_FOR_SLR_MISSING",
    "DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
    "SYNC_ON_HOLD",
    "Unknown",
]

BehaviorEnumType

Usage Example
from mypy_boto3_lightsail.literals import BehaviorEnumType

def get_value() -> BehaviorEnumType:
    return "cache"
Definition
BehaviorEnumType = Literal[
    "cache",
    "dont-cache",
]

BlueprintTypeType

Usage Example
from mypy_boto3_lightsail.literals import BlueprintTypeType

def get_value() -> BlueprintTypeType:
    return "app"
Definition
BlueprintTypeType = Literal[
    "app",
    "os",
]

BucketMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import BucketMetricNameType

def get_value() -> BucketMetricNameType:
    return "BucketSizeBytes"
Definition
BucketMetricNameType = Literal[
    "BucketSizeBytes",
    "NumberOfObjects",
]

CertificateStatusType

Usage Example
from mypy_boto3_lightsail.literals import CertificateStatusType

def get_value() -> CertificateStatusType:
    return "EXPIRED"
Definition
CertificateStatusType = Literal[
    "EXPIRED",
    "FAILED",
    "INACTIVE",
    "ISSUED",
    "PENDING_VALIDATION",
    "REVOKED",
    "VALIDATION_TIMED_OUT",
]

CloudFormationStackRecordSourceTypeType

Usage Example
from mypy_boto3_lightsail.literals import CloudFormationStackRecordSourceTypeType

def get_value() -> CloudFormationStackRecordSourceTypeType:
    return "ExportSnapshotRecord"
Definition
CloudFormationStackRecordSourceTypeType = Literal[
    "ExportSnapshotRecord",
]

ComparisonOperatorType

Usage Example
from mypy_boto3_lightsail.literals import ComparisonOperatorType

def get_value() -> ComparisonOperatorType:
    return "GreaterThanOrEqualToThreshold"
Definition
ComparisonOperatorType = Literal[
    "GreaterThanOrEqualToThreshold",
    "GreaterThanThreshold",
    "LessThanOrEqualToThreshold",
    "LessThanThreshold",
]

ContactMethodStatusType

Usage Example
from mypy_boto3_lightsail.literals import ContactMethodStatusType

def get_value() -> ContactMethodStatusType:
    return "Invalid"
Definition
ContactMethodStatusType = Literal[
    "Invalid",
    "PendingVerification",
    "Valid",
]

ContactMethodVerificationProtocolType

Usage Example
from mypy_boto3_lightsail.literals import ContactMethodVerificationProtocolType

def get_value() -> ContactMethodVerificationProtocolType:
    return "Email"
Definition
ContactMethodVerificationProtocolType = Literal[
    "Email",
]

ContactProtocolType

Usage Example
from mypy_boto3_lightsail.literals import ContactProtocolType

def get_value() -> ContactProtocolType:
    return "Email"
Definition
ContactProtocolType = Literal[
    "Email",
    "SMS",
]

ContainerServiceDeploymentStateType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServiceDeploymentStateType

def get_value() -> ContainerServiceDeploymentStateType:
    return "ACTIVATING"
Definition
ContainerServiceDeploymentStateType = Literal[
    "ACTIVATING",
    "ACTIVE",
    "FAILED",
    "INACTIVE",
]

ContainerServiceMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServiceMetricNameType

def get_value() -> ContainerServiceMetricNameType:
    return "CPUUtilization"
Definition
ContainerServiceMetricNameType = Literal[
    "CPUUtilization",
    "MemoryUtilization",
]

ContainerServicePowerNameType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServicePowerNameType

def get_value() -> ContainerServicePowerNameType:
    return "large"
Definition
ContainerServicePowerNameType = Literal[
    "large",
    "medium",
    "micro",
    "nano",
    "small",
    "xlarge",
]

ContainerServiceProtocolType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServiceProtocolType

def get_value() -> ContainerServiceProtocolType:
    return "HTTP"
Definition
ContainerServiceProtocolType = Literal[
    "HTTP",
    "HTTPS",
    "TCP",
    "UDP",
]

ContainerServiceStateDetailCodeType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServiceStateDetailCodeType

def get_value() -> ContainerServiceStateDetailCodeType:
    return "ACTIVATING_DEPLOYMENT"
Definition
ContainerServiceStateDetailCodeType = Literal[
    "ACTIVATING_DEPLOYMENT",
    "CERTIFICATE_LIMIT_EXCEEDED",
    "CREATING_DEPLOYMENT",
    "CREATING_NETWORK_INFRASTRUCTURE",
    "CREATING_SYSTEM_RESOURCES",
    "EVALUATING_HEALTH_CHECK",
    "PROVISIONING_CERTIFICATE",
    "PROVISIONING_SERVICE",
    "UNKNOWN_ERROR",
]

ContainerServiceStateType

Usage Example
from mypy_boto3_lightsail.literals import ContainerServiceStateType

def get_value() -> ContainerServiceStateType:
    return "DELETING"
Definition
ContainerServiceStateType = Literal[
    "DELETING",
    "DEPLOYING",
    "DISABLED",
    "PENDING",
    "READY",
    "RUNNING",
    "UPDATING",
]

DiskSnapshotStateType

Usage Example
from mypy_boto3_lightsail.literals import DiskSnapshotStateType

def get_value() -> DiskSnapshotStateType:
    return "completed"
Definition
DiskSnapshotStateType = Literal[
    "completed",
    "error",
    "pending",
    "unknown",
]

DiskStateType

Usage Example
from mypy_boto3_lightsail.literals import DiskStateType

def get_value() -> DiskStateType:
    return "available"
Definition
DiskStateType = Literal[
    "available",
    "error",
    "in-use",
    "pending",
    "unknown",
]

DistributionMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import DistributionMetricNameType

def get_value() -> DistributionMetricNameType:
    return "BytesDownloaded"
Definition
DistributionMetricNameType = Literal[
    "BytesDownloaded",
    "BytesUploaded",
    "Http4xxErrorRate",
    "Http5xxErrorRate",
    "Requests",
    "TotalErrorRate",
]

ExportSnapshotRecordSourceTypeType

Usage Example
from mypy_boto3_lightsail.literals import ExportSnapshotRecordSourceTypeType

def get_value() -> ExportSnapshotRecordSourceTypeType:
    return "DiskSnapshot"
Definition
ExportSnapshotRecordSourceTypeType = Literal[
    "DiskSnapshot",
    "InstanceSnapshot",
]

ForwardValuesType

Usage Example
from mypy_boto3_lightsail.literals import ForwardValuesType

def get_value() -> ForwardValuesType:
    return "all"
Definition
ForwardValuesType = Literal[
    "all",
    "allow-list",
    "none",
]

GetActiveNamesPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetActiveNamesPaginatorName

def get_value() -> GetActiveNamesPaginatorName:
    return "get_active_names"
Definition
GetActiveNamesPaginatorName = Literal[
    "get_active_names",
]

GetBlueprintsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetBlueprintsPaginatorName

def get_value() -> GetBlueprintsPaginatorName:
    return "get_blueprints"
Definition
GetBlueprintsPaginatorName = Literal[
    "get_blueprints",
]

GetBundlesPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetBundlesPaginatorName

def get_value() -> GetBundlesPaginatorName:
    return "get_bundles"
Definition
GetBundlesPaginatorName = Literal[
    "get_bundles",
]

GetCloudFormationStackRecordsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetCloudFormationStackRecordsPaginatorName

def get_value() -> GetCloudFormationStackRecordsPaginatorName:
    return "get_cloud_formation_stack_records"
Definition
GetCloudFormationStackRecordsPaginatorName = Literal[
    "get_cloud_formation_stack_records",
]

GetDiskSnapshotsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetDiskSnapshotsPaginatorName

def get_value() -> GetDiskSnapshotsPaginatorName:
    return "get_disk_snapshots"
Definition
GetDiskSnapshotsPaginatorName = Literal[
    "get_disk_snapshots",
]

GetDisksPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetDisksPaginatorName

def get_value() -> GetDisksPaginatorName:
    return "get_disks"
Definition
GetDisksPaginatorName = Literal[
    "get_disks",
]

GetDomainsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetDomainsPaginatorName

def get_value() -> GetDomainsPaginatorName:
    return "get_domains"
Definition
GetDomainsPaginatorName = Literal[
    "get_domains",
]

GetExportSnapshotRecordsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetExportSnapshotRecordsPaginatorName

def get_value() -> GetExportSnapshotRecordsPaginatorName:
    return "get_export_snapshot_records"
Definition
GetExportSnapshotRecordsPaginatorName = Literal[
    "get_export_snapshot_records",
]

GetInstanceSnapshotsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetInstanceSnapshotsPaginatorName

def get_value() -> GetInstanceSnapshotsPaginatorName:
    return "get_instance_snapshots"
Definition
GetInstanceSnapshotsPaginatorName = Literal[
    "get_instance_snapshots",
]

GetInstancesPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetInstancesPaginatorName

def get_value() -> GetInstancesPaginatorName:
    return "get_instances"
Definition
GetInstancesPaginatorName = Literal[
    "get_instances",
]

GetKeyPairsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetKeyPairsPaginatorName

def get_value() -> GetKeyPairsPaginatorName:
    return "get_key_pairs"
Definition
GetKeyPairsPaginatorName = Literal[
    "get_key_pairs",
]

GetLoadBalancersPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetLoadBalancersPaginatorName

def get_value() -> GetLoadBalancersPaginatorName:
    return "get_load_balancers"
Definition
GetLoadBalancersPaginatorName = Literal[
    "get_load_balancers",
]

GetOperationsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetOperationsPaginatorName

def get_value() -> GetOperationsPaginatorName:
    return "get_operations"
Definition
GetOperationsPaginatorName = Literal[
    "get_operations",
]

GetRelationalDatabaseBlueprintsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabaseBlueprintsPaginatorName

def get_value() -> GetRelationalDatabaseBlueprintsPaginatorName:
    return "get_relational_database_blueprints"
Definition
GetRelationalDatabaseBlueprintsPaginatorName = Literal[
    "get_relational_database_blueprints",
]

GetRelationalDatabaseBundlesPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabaseBundlesPaginatorName

def get_value() -> GetRelationalDatabaseBundlesPaginatorName:
    return "get_relational_database_bundles"
Definition
GetRelationalDatabaseBundlesPaginatorName = Literal[
    "get_relational_database_bundles",
]

GetRelationalDatabaseEventsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabaseEventsPaginatorName

def get_value() -> GetRelationalDatabaseEventsPaginatorName:
    return "get_relational_database_events"
Definition
GetRelationalDatabaseEventsPaginatorName = Literal[
    "get_relational_database_events",
]

GetRelationalDatabaseParametersPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabaseParametersPaginatorName

def get_value() -> GetRelationalDatabaseParametersPaginatorName:
    return "get_relational_database_parameters"
Definition
GetRelationalDatabaseParametersPaginatorName = Literal[
    "get_relational_database_parameters",
]

GetRelationalDatabaseSnapshotsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabaseSnapshotsPaginatorName

def get_value() -> GetRelationalDatabaseSnapshotsPaginatorName:
    return "get_relational_database_snapshots"
Definition
GetRelationalDatabaseSnapshotsPaginatorName = Literal[
    "get_relational_database_snapshots",
]

GetRelationalDatabasesPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetRelationalDatabasesPaginatorName

def get_value() -> GetRelationalDatabasesPaginatorName:
    return "get_relational_databases"
Definition
GetRelationalDatabasesPaginatorName = Literal[
    "get_relational_databases",
]

GetStaticIpsPaginatorName

Usage Example
from mypy_boto3_lightsail.literals import GetStaticIpsPaginatorName

def get_value() -> GetStaticIpsPaginatorName:
    return "get_static_ips"
Definition
GetStaticIpsPaginatorName = Literal[
    "get_static_ips",
]

HeaderEnumType

Usage Example
from mypy_boto3_lightsail.literals import HeaderEnumType

def get_value() -> HeaderEnumType:
    return "Accept"
Definition
HeaderEnumType = Literal[
    "Accept",
    "Accept-Charset",
    "Accept-Datetime",
    "Accept-Encoding",
    "Accept-Language",
    "Authorization",
    "CloudFront-Forwarded-Proto",
    "CloudFront-Is-Desktop-Viewer",
    "CloudFront-Is-Mobile-Viewer",
    "CloudFront-Is-SmartTV-Viewer",
    "CloudFront-Is-Tablet-Viewer",
    "CloudFront-Viewer-Country",
    "Host",
    "Origin",
    "Referer",
]

HttpEndpointType

Usage Example
from mypy_boto3_lightsail.literals import HttpEndpointType

def get_value() -> HttpEndpointType:
    return "disabled"
Definition
HttpEndpointType = Literal[
    "disabled",
    "enabled",
]

HttpProtocolIpv6Type

Usage Example
from mypy_boto3_lightsail.literals import HttpProtocolIpv6Type

def get_value() -> HttpProtocolIpv6Type:
    return "disabled"
Definition
HttpProtocolIpv6Type = Literal[
    "disabled",
    "enabled",
]

HttpTokensType

Usage Example
from mypy_boto3_lightsail.literals import HttpTokensType

def get_value() -> HttpTokensType:
    return "optional"
Definition
HttpTokensType = Literal[
    "optional",
    "required",
]

InstanceAccessProtocolType

Usage Example
from mypy_boto3_lightsail.literals import InstanceAccessProtocolType

def get_value() -> InstanceAccessProtocolType:
    return "rdp"
Definition
InstanceAccessProtocolType = Literal[
    "rdp",
    "ssh",
]

InstanceHealthReasonType

Usage Example
from mypy_boto3_lightsail.literals import InstanceHealthReasonType

def get_value() -> InstanceHealthReasonType:
    return "Instance.DeregistrationInProgress"
Definition
InstanceHealthReasonType = Literal[
    "Instance.DeregistrationInProgress",
    "Instance.FailedHealthChecks",
    "Instance.InvalidState",
    "Instance.IpUnusable",
    "Instance.NotInUse",
    "Instance.NotRegistered",
    "Instance.ResponseCodeMismatch",
    "Instance.Timeout",
    "Lb.InitialHealthChecking",
    "Lb.InternalError",
    "Lb.RegistrationInProgress",
]

InstanceHealthStateType

Usage Example
from mypy_boto3_lightsail.literals import InstanceHealthStateType

def get_value() -> InstanceHealthStateType:
    return "draining"
Definition
InstanceHealthStateType = Literal[
    "draining",
    "healthy",
    "initial",
    "unavailable",
    "unhealthy",
    "unused",
]

InstanceMetadataStateType

Usage Example
from mypy_boto3_lightsail.literals import InstanceMetadataStateType

def get_value() -> InstanceMetadataStateType:
    return "applied"
Definition
InstanceMetadataStateType = Literal[
    "applied",
    "pending",
]

InstanceMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import InstanceMetricNameType

def get_value() -> InstanceMetricNameType:
    return "BurstCapacityPercentage"
Definition
InstanceMetricNameType = Literal[
    "BurstCapacityPercentage",
    "BurstCapacityTime",
    "CPUUtilization",
    "MetadataNoToken",
    "NetworkIn",
    "NetworkOut",
    "StatusCheckFailed",
    "StatusCheckFailed_Instance",
    "StatusCheckFailed_System",
]

InstancePlatformType

Usage Example
from mypy_boto3_lightsail.literals import InstancePlatformType

def get_value() -> InstancePlatformType:
    return "LINUX_UNIX"
Definition
InstancePlatformType = Literal[
    "LINUX_UNIX",
    "WINDOWS",
]

InstanceSnapshotStateType

Usage Example
from mypy_boto3_lightsail.literals import InstanceSnapshotStateType

def get_value() -> InstanceSnapshotStateType:
    return "available"
Definition
InstanceSnapshotStateType = Literal[
    "available",
    "error",
    "pending",
]

IpAddressTypeType

Usage Example
from mypy_boto3_lightsail.literals import IpAddressTypeType

def get_value() -> IpAddressTypeType:
    return "dualstack"
Definition
IpAddressTypeType = Literal[
    "dualstack",
    "ipv4",
]

LoadBalancerAttributeNameType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerAttributeNameType

def get_value() -> LoadBalancerAttributeNameType:
    return "HealthCheckPath"
Definition
LoadBalancerAttributeNameType = Literal[
    "HealthCheckPath",
    "HttpsRedirectionEnabled",
    "SessionStickiness_LB_CookieDurationSeconds",
    "SessionStickinessEnabled",
    "TlsPolicyName",
]

LoadBalancerMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerMetricNameType

def get_value() -> LoadBalancerMetricNameType:
    return "ClientTLSNegotiationErrorCount"
Definition
LoadBalancerMetricNameType = Literal[
    "ClientTLSNegotiationErrorCount",
    "HealthyHostCount",
    "HTTPCode_Instance_2XX_Count",
    "HTTPCode_Instance_3XX_Count",
    "HTTPCode_Instance_4XX_Count",
    "HTTPCode_Instance_5XX_Count",
    "HTTPCode_LB_4XX_Count",
    "HTTPCode_LB_5XX_Count",
    "InstanceResponseTime",
    "RejectedConnectionCount",
    "RequestCount",
    "UnhealthyHostCount",
]

LoadBalancerProtocolType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerProtocolType

def get_value() -> LoadBalancerProtocolType:
    return "HTTP"
Definition
LoadBalancerProtocolType = Literal[
    "HTTP",
    "HTTP_HTTPS",
]

LoadBalancerStateType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerStateType

def get_value() -> LoadBalancerStateType:
    return "active"
Definition
LoadBalancerStateType = Literal[
    "active",
    "active_impaired",
    "failed",
    "provisioning",
    "unknown",
]

LoadBalancerTlsCertificateDomainStatusType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerTlsCertificateDomainStatusType

def get_value() -> LoadBalancerTlsCertificateDomainStatusType:
    return "FAILED"
Definition
LoadBalancerTlsCertificateDomainStatusType = Literal[
    "FAILED",
    "PENDING_VALIDATION",
    "SUCCESS",
]

LoadBalancerTlsCertificateFailureReasonType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerTlsCertificateFailureReasonType

def get_value() -> LoadBalancerTlsCertificateFailureReasonType:
    return "ADDITIONAL_VERIFICATION_REQUIRED"
Definition
LoadBalancerTlsCertificateFailureReasonType = Literal[
    "ADDITIONAL_VERIFICATION_REQUIRED",
    "DOMAIN_NOT_ALLOWED",
    "INVALID_PUBLIC_DOMAIN",
    "NO_AVAILABLE_CONTACTS",
    "OTHER",
]

LoadBalancerTlsCertificateRenewalStatusType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerTlsCertificateRenewalStatusType

def get_value() -> LoadBalancerTlsCertificateRenewalStatusType:
    return "FAILED"
Definition
LoadBalancerTlsCertificateRenewalStatusType = Literal[
    "FAILED",
    "PENDING_AUTO_RENEWAL",
    "PENDING_VALIDATION",
    "SUCCESS",
]

LoadBalancerTlsCertificateRevocationReasonType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerTlsCertificateRevocationReasonType

def get_value() -> LoadBalancerTlsCertificateRevocationReasonType:
    return "AFFILIATION_CHANGED"
Definition
LoadBalancerTlsCertificateRevocationReasonType = Literal[
    "A_A_COMPROMISE",
    "AFFILIATION_CHANGED",
    "CA_COMPROMISE",
    "CERTIFICATE_HOLD",
    "CESSATION_OF_OPERATION",
    "KEY_COMPROMISE",
    "PRIVILEGE_WITHDRAWN",
    "REMOVE_FROM_CRL",
    "SUPERCEDED",
    "UNSPECIFIED",
]

LoadBalancerTlsCertificateStatusType

Usage Example
from mypy_boto3_lightsail.literals import LoadBalancerTlsCertificateStatusType

def get_value() -> LoadBalancerTlsCertificateStatusType:
    return "EXPIRED"
Definition
LoadBalancerTlsCertificateStatusType = Literal[
    "EXPIRED",
    "FAILED",
    "INACTIVE",
    "ISSUED",
    "PENDING_VALIDATION",
    "REVOKED",
    "UNKNOWN",
    "VALIDATION_TIMED_OUT",
]

MetricNameType

Usage Example
from mypy_boto3_lightsail.literals import MetricNameType

def get_value() -> MetricNameType:
    return "BurstCapacityPercentage"
Definition
MetricNameType = Literal[
    "BurstCapacityPercentage",
    "BurstCapacityTime",
    "ClientTLSNegotiationErrorCount",
    "CPUUtilization",
    "DatabaseConnections",
    "DiskQueueDepth",
    "FreeStorageSpace",
    "HealthyHostCount",
    "HTTPCode_Instance_2XX_Count",
    "HTTPCode_Instance_3XX_Count",
    "HTTPCode_Instance_4XX_Count",
    "HTTPCode_Instance_5XX_Count",
    "HTTPCode_LB_4XX_Count",
    "HTTPCode_LB_5XX_Count",
    "InstanceResponseTime",
    "NetworkIn",
    "NetworkOut",
    "NetworkReceiveThroughput",
    "NetworkTransmitThroughput",
    "RejectedConnectionCount",
    "RequestCount",
    "StatusCheckFailed",
    "StatusCheckFailed_Instance",
    "StatusCheckFailed_System",
    "UnhealthyHostCount",
]

MetricStatisticType

Usage Example
from mypy_boto3_lightsail.literals import MetricStatisticType

def get_value() -> MetricStatisticType:
    return "Average"
Definition
MetricStatisticType = Literal[
    "Average",
    "Maximum",
    "Minimum",
    "SampleCount",
    "Sum",
]

MetricUnitType

Usage Example
from mypy_boto3_lightsail.literals import MetricUnitType

def get_value() -> MetricUnitType:
    return "Bits"
Definition
MetricUnitType = Literal[
    "Bits",
    "Bits/Second",
    "Bytes",
    "Bytes/Second",
    "Count",
    "Count/Second",
    "Gigabits",
    "Gigabits/Second",
    "Gigabytes",
    "Gigabytes/Second",
    "Kilobits",
    "Kilobits/Second",
    "Kilobytes",
    "Kilobytes/Second",
    "Megabits",
    "Megabits/Second",
    "Megabytes",
    "Megabytes/Second",
    "Microseconds",
    "Milliseconds",
    "None",
    "Percent",
    "Seconds",
    "Terabits",
    "Terabits/Second",
    "Terabytes",
    "Terabytes/Second",
]

NetworkProtocolType

Usage Example
from mypy_boto3_lightsail.literals import NetworkProtocolType

def get_value() -> NetworkProtocolType:
    return "all"
Definition
NetworkProtocolType = Literal[
    "all",
    "icmp",
    "tcp",
    "udp",
]

OperationStatusType

Usage Example
from mypy_boto3_lightsail.literals import OperationStatusType

def get_value() -> OperationStatusType:
    return "Completed"
Definition
OperationStatusType = Literal[
    "Completed",
    "Failed",
    "NotStarted",
    "Started",
    "Succeeded",
]

OperationTypeType

Usage Example
from mypy_boto3_lightsail.literals import OperationTypeType

def get_value() -> OperationTypeType:
    return "AllocateStaticIp"
Definition
OperationTypeType = Literal[
    "AllocateStaticIp",
    "AttachCertificateToDistribution",
    "AttachDisk",
    "AttachInstancesToLoadBalancer",
    "AttachLoadBalancerTlsCertificate",
    "AttachStaticIp",
    "CloseInstancePublicPorts",
    "CreateBucket",
    "CreateBucketAccessKey",
    "CreateCertificate",
    "CreateContactMethod",
    "CreateContainerService",
    "CreateContainerServiceDeployment",
    "CreateContainerServiceRegistryLogin",
    "CreateDisk",
    "CreateDiskFromSnapshot",
    "CreateDiskSnapshot",
    "CreateDistribution",
    "CreateDomain",
    "CreateInstance",
    "CreateInstancesFromSnapshot",
    "CreateInstanceSnapshot",
    "CreateLoadBalancer",
    "CreateLoadBalancerTlsCertificate",
    "CreateRelationalDatabase",
    "CreateRelationalDatabaseFromSnapshot",
    "CreateRelationalDatabaseSnapshot",
    "DeleteAlarm",
    "DeleteBucket",
    "DeleteBucketAccessKey",
    "DeleteCertificate",
    "DeleteContactMethod",
    "DeleteContainerImage",
    "DeleteContainerService",
    "DeleteDisk",
    "DeleteDiskSnapshot",
    "DeleteDistribution",
    "DeleteDomain",
    "DeleteDomainEntry",
    "DeleteInstance",
    "DeleteInstanceSnapshot",
    "DeleteKnownHostKeys",
    "DeleteLoadBalancer",
    "DeleteLoadBalancerTlsCertificate",
    "DeleteRelationalDatabase",
    "DeleteRelationalDatabaseSnapshot",
    "DetachCertificateFromDistribution",
    "DetachDisk",
    "DetachInstancesFromLoadBalancer",
    "DetachStaticIp",
    "DisableAddOn",
    "EnableAddOn",
    "GetAlarms",
    "GetContactMethods",
    "OpenInstancePublicPorts",
    "PutAlarm",
    "PutInstancePublicPorts",
    "RebootInstance",
    "RebootRelationalDatabase",
    "RegisterContainerImage",
    "ReleaseStaticIp",
    "ResetDistributionCache",
    "SendContactMethodVerification",
    "SetIpAddressType",
    "SetResourceAccessForBucket",
    "StartInstance",
    "StartRelationalDatabase",
    "StopInstance",
    "StopRelationalDatabase",
    "TestAlarm",
    "UpdateBucket",
    "UpdateBucketBundle",
    "UpdateContainerService",
    "UpdateDistribution",
    "UpdateDistributionBundle",
    "UpdateDomainEntry",
    "UpdateInstanceMetadataOptions",
    "UpdateLoadBalancerAttribute",
    "UpdateRelationalDatabase",
    "UpdateRelationalDatabaseParameters",
]

OriginProtocolPolicyEnumType

Usage Example
from mypy_boto3_lightsail.literals import OriginProtocolPolicyEnumType

def get_value() -> OriginProtocolPolicyEnumType:
    return "http-only"
Definition
OriginProtocolPolicyEnumType = Literal[
    "http-only",
    "https-only",
]

PortAccessTypeType

Usage Example
from mypy_boto3_lightsail.literals import PortAccessTypeType

def get_value() -> PortAccessTypeType:
    return "Private"
Definition
PortAccessTypeType = Literal[
    "Private",
    "Public",
]

PortInfoSourceTypeType

Usage Example
from mypy_boto3_lightsail.literals import PortInfoSourceTypeType

def get_value() -> PortInfoSourceTypeType:
    return "CLOSED"
Definition
PortInfoSourceTypeType = Literal[
    "CLOSED",
    "DEFAULT",
    "INSTANCE",
    "NONE",
]

PortStateType

Usage Example
from mypy_boto3_lightsail.literals import PortStateType

def get_value() -> PortStateType:
    return "closed"
Definition
PortStateType = Literal[
    "closed",
    "open",
]

RecordStateType

Usage Example
from mypy_boto3_lightsail.literals import RecordStateType

def get_value() -> RecordStateType:
    return "Failed"
Definition
RecordStateType = Literal[
    "Failed",
    "Started",
    "Succeeded",
]

RegionNameType

Usage Example
from mypy_boto3_lightsail.literals import RegionNameType

def get_value() -> RegionNameType:
    return "ap-northeast-1"
Definition
RegionNameType = Literal[
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-south-1",
    "ap-southeast-1",
    "ap-southeast-2",
    "ca-central-1",
    "eu-central-1",
    "eu-north-1",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "us-east-1",
    "us-east-2",
    "us-west-1",
    "us-west-2",
]

RelationalDatabaseEngineType

Usage Example
from mypy_boto3_lightsail.literals import RelationalDatabaseEngineType

def get_value() -> RelationalDatabaseEngineType:
    return "mysql"
Definition
RelationalDatabaseEngineType = Literal[
    "mysql",
]

RelationalDatabaseMetricNameType

Usage Example
from mypy_boto3_lightsail.literals import RelationalDatabaseMetricNameType

def get_value() -> RelationalDatabaseMetricNameType:
    return "CPUUtilization"
Definition
RelationalDatabaseMetricNameType = Literal[
    "CPUUtilization",
    "DatabaseConnections",
    "DiskQueueDepth",
    "FreeStorageSpace",
    "NetworkReceiveThroughput",
    "NetworkTransmitThroughput",
]

RelationalDatabasePasswordVersionType

Usage Example
from mypy_boto3_lightsail.literals import RelationalDatabasePasswordVersionType

def get_value() -> RelationalDatabasePasswordVersionType:
    return "CURRENT"
Definition
RelationalDatabasePasswordVersionType = Literal[
    "CURRENT",
    "PENDING",
    "PREVIOUS",
]

RenewalStatusType

Usage Example
from mypy_boto3_lightsail.literals import RenewalStatusType

def get_value() -> RenewalStatusType:
    return "Failed"
Definition
RenewalStatusType = Literal[
    "Failed",
    "PendingAutoRenewal",
    "PendingValidation",
    "Success",
]

ResourceBucketAccessType

Usage Example
from mypy_boto3_lightsail.literals import ResourceBucketAccessType

def get_value() -> ResourceBucketAccessType:
    return "allow"
Definition
ResourceBucketAccessType = Literal[
    "allow",
    "deny",
]

ResourceTypeType

Usage Example
from mypy_boto3_lightsail.literals import ResourceTypeType

def get_value() -> ResourceTypeType:
    return "Alarm"
Definition
ResourceTypeType = Literal[
    "Alarm",
    "Bucket",
    "Certificate",
    "CloudFormationStackRecord",
    "ContactMethod",
    "ContainerService",
    "Disk",
    "DiskSnapshot",
    "Distribution",
    "Domain",
    "ExportSnapshotRecord",
    "Instance",
    "InstanceSnapshot",
    "KeyPair",
    "LoadBalancer",
    "LoadBalancerTlsCertificate",
    "PeeredVpc",
    "RelationalDatabase",
    "RelationalDatabaseSnapshot",
    "StaticIp",
]

StatusTypeType

Usage Example
from mypy_boto3_lightsail.literals import StatusTypeType

def get_value() -> StatusTypeType:
    return "Active"
Definition
StatusTypeType = Literal[
    "Active",
    "Inactive",
]

TreatMissingDataType

Usage Example
from mypy_boto3_lightsail.literals import TreatMissingDataType

def get_value() -> TreatMissingDataType:
    return "breaching"
Definition
TreatMissingDataType = Literal[
    "breaching",
    "ignore",
    "missing",
    "notBreaching",
]

LightsailServiceName

Usage Example
from mypy_boto3_lightsail.literals import LightsailServiceName

def get_value() -> LightsailServiceName:
    return "lightsail"
Definition
LightsailServiceName = Literal[
    "lightsail",
]

ServiceName

Usage Example
from mypy_boto3_lightsail.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
Definition
ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "alexaforbusiness",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "backup",
    "backup-gateway",
    "backupstorage",
    "batch",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecommit",
    "codedeploy",
    "codeguru-reviewer",
    "codeguruprofiler",
    "codepipeline",
    "codestar",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "connectparticipant",
    "controltower",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "dax",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "drs",
    "ds",
    "dynamodb",
    "dynamodbstreams",
    "ebs",
    "ec2",
    "ec2-instance-connect",
    "ecr",
    "ecr-public",
    "ecs",
    "efs",
    "eks",
    "elastic-inference",
    "elasticache",
    "elasticbeanstalk",
    "elastictranscoder",
    "elb",
    "elbv2",
    "emr",
    "emr-containers",
    "emr-serverless",
    "es",
    "events",
    "evidently",
    "finspace",
    "finspace-data",
    "firehose",
    "fis",
    "fms",
    "forecast",
    "forecastquery",
    "frauddetector",
    "fsx",
    "gamelift",
    "gamesparks",
    "glacier",
    "globalaccelerator",
    "glue",
    "grafana",
    "greengrass",
    "greengrassv2",
    "groundstation",
    "guardduty",
    "health",
    "healthlake",
    "honeycode",
    "iam",
    "identitystore",
    "imagebuilder",
    "importexport",
    "inspector",
    "inspector2",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "license-manager-user-subscriptions",
    "lightsail",
    "location",
    "logs",
    "lookoutequipment",
    "lookoutmetrics",
    "lookoutvision",
    "m2",
    "machinelearning",
    "macie",
    "macie2",
    "managedblockchain",
    "marketplace-catalog",
    "marketplace-entitlement",
    "marketplacecommerceanalytics",
    "mediaconnect",
    "mediaconvert",
    "medialive",
    "mediapackage",
    "mediapackage-vod",
    "mediastore",
    "mediastore-data",
    "mediatailor",
    "memorydb",
    "meteringmarketplace",
    "mgh",
    "mgn",
    "migration-hub-refactor-spaces",
    "migrationhub-config",
    "migrationhuborchestrator",
    "migrationhubstrategy",
    "mobile",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "network-firewall",
    "networkmanager",
    "nimble",
    "opensearch",
    "opsworks",
    "opsworkscm",
    "organizations",
    "outposts",
    "panorama",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "resiliencehub",
    "resource-groups",
    "resourcegroupstaggingapi",
    "robomaker",
    "rolesanywhere",
    "route53",
    "route53-recovery-cluster",
    "route53-recovery-control-config",
    "route53-recovery-readiness",
    "route53domains",
    "route53resolver",
    "rum",
    "s3",
    "s3control",
    "s3outposts",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-runtime",
    "savingsplans",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "textract",
    "timestream-query",
    "timestream-write",
    "transcribe",
    "transfer",
    "translate",
    "voice-id",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "worklink",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-web",
    "xray",
]

ResourceServiceName

Usage Example
from mypy_boto3_lightsail.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
Definition
ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName

Usage Example
from mypy_boto3_lightsail.literals import PaginatorName

def get_value() -> PaginatorName:
    return "get_active_names"
Definition
PaginatorName = Literal[
    "get_active_names",
    "get_blueprints",
    "get_bundles",
    "get_cloud_formation_stack_records",
    "get_disk_snapshots",
    "get_disks",
    "get_domains",
    "get_export_snapshot_records",
    "get_instance_snapshots",
    "get_instances",
    "get_key_pairs",
    "get_load_balancers",
    "get_operations",
    "get_relational_database_blueprints",
    "get_relational_database_bundles",
    "get_relational_database_events",
    "get_relational_database_parameters",
    "get_relational_database_snapshots",
    "get_relational_databases",
    "get_static_ips",
]

RegionName

Usage Example
from mypy_boto3_lightsail.literals import RegionName

def get_value() -> RegionName:
    return "ap-northeast-1"
Definition
RegionName = Literal[
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-south-1",
    "ap-southeast-1",
    "ap-southeast-2",
    "ca-central-1",
    "eu-central-1",
    "eu-north-1",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "us-east-1",
    "us-east-2",
    "us-west-2",
]