Skip to content

Type definitions#

Index > ElasticBeanstalk > Type definitions

Auto-generated documentation for ElasticBeanstalk type annotations stubs module mypy-boto3-elasticbeanstalk.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AbortEnvironmentUpdateMessageRequestTypeDef#

# AbortEnvironmentUpdateMessageRequestTypeDef definition

class AbortEnvironmentUpdateMessageRequestTypeDef(TypedDict):
    EnvironmentId: NotRequired[str],
    EnvironmentName: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

LatencyTypeDef#

# LatencyTypeDef definition

class LatencyTypeDef(TypedDict):
    P999: NotRequired[float],
    P99: NotRequired[float],
    P95: NotRequired[float],
    P90: NotRequired[float],
    P85: NotRequired[float],
    P75: NotRequired[float],
    P50: NotRequired[float],
    P10: NotRequired[float],

StatusCodesTypeDef#

# StatusCodesTypeDef definition

class StatusCodesTypeDef(TypedDict):
    Status2xx: NotRequired[int],
    Status3xx: NotRequired[int],
    Status4xx: NotRequired[int],
    Status5xx: NotRequired[int],

S3LocationTypeDef#

# S3LocationTypeDef definition

class S3LocationTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],

SourceBuildInformationTypeDef#

# SourceBuildInformationTypeDef definition

class SourceBuildInformationTypeDef(TypedDict):
    SourceType: SourceTypeType,  # (1)
    SourceRepository: SourceRepositoryType,  # (2)
    SourceLocation: str,
  1. See SourceTypeType
  2. See SourceRepositoryType

MaxAgeRuleTypeDef#

# MaxAgeRuleTypeDef definition

class MaxAgeRuleTypeDef(TypedDict):
    Enabled: bool,
    MaxAgeInDays: NotRequired[int],
    DeleteSourceFromS3: NotRequired[bool],

MaxCountRuleTypeDef#

# MaxCountRuleTypeDef definition

class MaxCountRuleTypeDef(TypedDict):
    Enabled: bool,
    MaxCount: NotRequired[int],
    DeleteSourceFromS3: NotRequired[bool],

ApplyEnvironmentManagedActionRequestRequestTypeDef#

# ApplyEnvironmentManagedActionRequestRequestTypeDef definition

class ApplyEnvironmentManagedActionRequestRequestTypeDef(TypedDict):
    ActionId: str,
    EnvironmentName: NotRequired[str],
    EnvironmentId: NotRequired[str],

AssociateEnvironmentOperationsRoleMessageRequestTypeDef#

# AssociateEnvironmentOperationsRoleMessageRequestTypeDef definition

class AssociateEnvironmentOperationsRoleMessageRequestTypeDef(TypedDict):
    EnvironmentName: str,
    OperationsRole: str,

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    Name: NotRequired[str],

BuildConfigurationTypeDef#

# BuildConfigurationTypeDef definition

class BuildConfigurationTypeDef(TypedDict):
    CodeBuildServiceRole: str,
    Image: str,
    ArtifactName: NotRequired[str],
    ComputeType: NotRequired[ComputeTypeType],  # (1)
    TimeoutInMinutes: NotRequired[int],
  1. See ComputeTypeType

BuilderTypeDef#

# BuilderTypeDef definition

class BuilderTypeDef(TypedDict):
    ARN: NotRequired[str],

CPUUtilizationTypeDef#

# CPUUtilizationTypeDef definition

class CPUUtilizationTypeDef(TypedDict):
    User: NotRequired[float],
    Nice: NotRequired[float],
    System: NotRequired[float],
    Idle: NotRequired[float],
    IOWait: NotRequired[float],
    IRQ: NotRequired[float],
    SoftIRQ: NotRequired[float],
    Privileged: NotRequired[float],

CheckDNSAvailabilityMessageRequestTypeDef#

# CheckDNSAvailabilityMessageRequestTypeDef definition

class CheckDNSAvailabilityMessageRequestTypeDef(TypedDict):
    CNAMEPrefix: str,

ComposeEnvironmentsMessageRequestTypeDef#

# ComposeEnvironmentsMessageRequestTypeDef definition

class ComposeEnvironmentsMessageRequestTypeDef(TypedDict):
    ApplicationName: NotRequired[str],
    GroupName: NotRequired[str],
    VersionLabels: NotRequired[Sequence[str]],

OptionRestrictionRegexTypeDef#

# OptionRestrictionRegexTypeDef definition

class OptionRestrictionRegexTypeDef(TypedDict):
    Pattern: NotRequired[str],
    Label: NotRequired[str],

ConfigurationOptionSettingTypeDef#

# ConfigurationOptionSettingTypeDef definition

class ConfigurationOptionSettingTypeDef(TypedDict):
    ResourceName: NotRequired[str],
    Namespace: NotRequired[str],
    OptionName: NotRequired[str],
    Value: NotRequired[str],

ValidationMessageTypeDef