Skip to content

Type definitions#

Index > OpsWorks > Type definitions

Auto-generated documentation for OpsWorks type annotations stubs module mypy-boto3-opsworks.

StackConfigurationManagerTypeDef#

# StackConfigurationManagerTypeDef definition

class StackConfigurationManagerTypeDef(TypedDict):
    Name: NotRequired[str],
    Version: NotRequired[str],

DataSourceTypeDef#

# DataSourceTypeDef definition

class DataSourceTypeDef(TypedDict):
    Type: NotRequired[str],
    Arn: NotRequired[str],
    DatabaseName: NotRequired[str],

EnvironmentVariableTypeDef#

# EnvironmentVariableTypeDef definition

class EnvironmentVariableTypeDef(TypedDict):
    Key: str,
    Value: str,
    Secure: NotRequired[bool],

SourceTypeDef#

# SourceTypeDef definition

class SourceTypeDef(TypedDict):
    Type: NotRequired[SourceTypeType],  # (1)
    Url: NotRequired[str],
    Username: NotRequired[str],
    Password: NotRequired[str],
    SshKey: NotRequired[str],
    Revision: NotRequired[str],
  1. See SourceTypeType

SslConfigurationTypeDef#

# SslConfigurationTypeDef definition

class SslConfigurationTypeDef(TypedDict):
    Certificate: str,
    PrivateKey: str,
    Chain: NotRequired[str],

AssignInstanceRequestRequestTypeDef#

# AssignInstanceRequestRequestTypeDef definition

class AssignInstanceRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    LayerIds: Sequence[str],

AssignVolumeRequestRequestTypeDef#

# AssignVolumeRequestRequestTypeDef definition

class AssignVolumeRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    InstanceId: NotRequired[str],

AssociateElasticIpRequestRequestTypeDef#

# AssociateElasticIpRequestRequestTypeDef definition

class AssociateElasticIpRequestRequestTypeDef(TypedDict):
    ElasticIp: str,
    InstanceId: NotRequired[str],

AttachElasticLoadBalancerRequestRequestTypeDef#

# AttachElasticLoadBalancerRequestRequestTypeDef definition

class AttachElasticLoadBalancerRequestRequestTypeDef(TypedDict):
    ElasticLoadBalancerName: str,
    LayerId: str,

AutoScalingThresholdsTypeDef#

# AutoScalingThresholdsTypeDef definition

class AutoScalingThresholdsTypeDef(TypedDict):
    InstanceCount: NotRequired[int],
    ThresholdsWaitTime: NotRequired[int],
    IgnoreMetricsTime: NotRequired[int],
    CpuThreshold: NotRequired[float],
    MemoryThreshold: NotRequired[float],
    LoadThreshold: NotRequired[float],
    Alarms: NotRequired[List[str]],

EbsBlockDeviceTypeDef#

# EbsBlockDeviceTypeDef definition

class EbsBlockDeviceTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    Iops: NotRequired[int],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    DeleteOnTermination: NotRequired[bool],
  1. See VolumeTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

ChefConfigurationTypeDef#

# ChefConfigurationTypeDef definition

class ChefConfigurationTypeDef(TypedDict):
    ManageBerkshelf: NotRequired[bool],
    BerkshelfVersion: NotRequired[str],

CloudWatchLogsLogStreamTypeDef#

# CloudWatchLogsLogStreamTypeDef definition

class CloudWatchLogsLogStreamTypeDef(TypedDict):
    LogGroupName: NotRequired[str],
    DatetimeFormat: NotRequired[str],
    TimeZone: NotRequired[CloudWatchLogsTimeZoneType],  # (1)
    File: NotRequired[str],
    FileFingerprintLines: NotRequired[str],
    MultiLineStartPattern: NotRequired[str],
    InitialPosition: NotRequired[CloudWatchLogsInitialPositionType],  # (2)
    Encoding: NotRequired[CloudWatchLogsEncodingType],  # (3)
    BufferDuration: NotRequired[int],
    BatchCount: NotRequired[int],
    BatchSize: