Skip to content

Type definitions#

Index > AppRunner > Type definitions

Auto-generated documentation for AppRunner type annotations stubs module mypy-boto3-apprunner.

AssociateCustomDomainRequestRequestTypeDef#

# AssociateCustomDomainRequestRequestTypeDef definition

class AssociateCustomDomainRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    DomainName: str,
    EnableWWWSubdomain: NotRequired[bool],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

VpcDNSTargetTypeDef#

# VpcDNSTargetTypeDef definition

class VpcDNSTargetTypeDef(TypedDict):
    VpcIngressConnectionArn: NotRequired[str],
    VpcId: NotRequired[str],
    DomainName: NotRequired[str],

AuthenticationConfigurationTypeDef#

# AuthenticationConfigurationTypeDef definition

class AuthenticationConfigurationTypeDef(TypedDict):
    ConnectionArn: NotRequired[str],
    AccessRoleArn: NotRequired[str],

AutoScalingConfigurationSummaryTypeDef#

# AutoScalingConfigurationSummaryTypeDef definition

class AutoScalingConfigurationSummaryTypeDef(TypedDict):
    AutoScalingConfigurationArn: NotRequired[str],
    AutoScalingConfigurationName: NotRequired[str],
    AutoScalingConfigurationRevision: NotRequired[int],
    Status: NotRequired[AutoScalingConfigurationStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    HasAssociatedService: NotRequired[bool],
    IsDefault: NotRequired[bool],
  1. See AutoScalingConfigurationStatusType

AutoScalingConfigurationTypeDef#

# AutoScalingConfigurationTypeDef definition

class AutoScalingConfigurationTypeDef(TypedDict):
    AutoScalingConfigurationArn: NotRequired[str],
    AutoScalingConfigurationName: NotRequired[str],
    AutoScalingConfigurationRevision: NotRequired[int],
    Latest: NotRequired[bool],
    Status: NotRequired[AutoScalingConfigurationStatusType],  # (1)
    MaxConcurrency: NotRequired[int],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    CreatedAt: NotRequired[datetime],
    DeletedAt: NotRequired[datetime],
    HasAssociatedService: NotRequired[bool],
    IsDefault: NotRequired[bool],
  1. See AutoScalingConfigurationStatusType

CertificateValidationRecordTypeDef#

# CertificateValidationRecordTypeDef definition

class CertificateValidationRecordTypeDef(TypedDict):
    Name: NotRequired[str],
    Type: NotRequired[str],
    Value: NotRequired[str],
    Status: NotRequired[CertificateValidationRecordStatusType],  # (1)
  1. See CertificateValidationRecordStatusType

CodeConfigurationValuesTypeDef#

# CodeConfigurationValuesTypeDef definition

class CodeConfigurationValuesTypeDef(TypedDict):
    Runtime: RuntimeType,  # (1)
    BuildCommand: NotRequired[str],
    StartCommand: NotRequired[str],
    Port: NotRequired[str],
    RuntimeEnvironmentVariables: NotRequired[Mapping[str, str]],
    RuntimeEnvironmentSecrets: NotRequired[Mapping[str, str]],
  1. See RuntimeType

SourceCodeVersionTypeDef#

# SourceCodeVersionTypeDef definition

class SourceCodeVersionTypeDef(TypedDict):
    Type: SourceCodeVersionTypeType,  # (1)
    Value: str,
  1. See SourceCodeVersionTypeType

ConnectionSummaryTypeDef#

# ConnectionSummaryTypeDef definition

class ConnectionSummaryTypeDef(TypedDict):
    ConnectionName: NotRequired[str],
    ConnectionArn: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    Status: NotRequired[ConnectionStatusType],  # (2)
    CreatedAt: NotRequired[datetime],
  1. See ProviderTypeType
  2. See ConnectionStatusType

ConnectionTypeDef#

# ConnectionTypeDef definition

class ConnectionTypeDef(TypedDict):
    ConnectionName: NotRequired[str],
    ConnectionArn: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    Status: NotRequired[ConnectionStatusType],  # (2)
    CreatedAt: NotRequired[datetime],
  1. See ProviderTypeType
  2. See ConnectionStatusType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

TraceConfigurationTypeDef#

# TraceConfigurationTypeDef definition

class TraceConfigurationTypeDef(TypedDict):
    Vendor: TracingVendorType,  # (1)
  1. See TracingVendorType

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef definition

class EncryptionConfigurationTypeDef(TypedDict):
    KmsKey: str,

HealthCheckConfigurationTypeDef#

# HealthCheckConfigurationTypeDef definition

class HealthCheckConfigurationTypeDef(TypedDict):
    Protocol: NotRequired[HealthCheckProtocolType],  # (1)
    Path: NotRequired[str],
    Interval: NotRequired[int],
    Timeout: NotRequired[int],
    HealthyThreshold: NotRequired[int],
    UnhealthyThreshold: NotRequired[int],
  1. See HealthCheckProtocolType

InstanceConfigurationTypeDef#

# InstanceConfigurationTypeDef definition

class InstanceConfigurationTypeDef(TypedDict):
    Cpu: NotRequired[str],
    Memory: NotRequired[str],
    InstanceRoleArn: NotRequired[str],

ServiceObservabilityConfigurationTypeDef#

# ServiceObservabilityConfigurationTypeDef definition

class ServiceObservabilityConfigurationTypeDef(TypedDict):
    ObservabilityEnabled: bool,
    ObservabilityConfigurationArn: NotRequired[str],

VpcConnectorTypeDef#

# VpcConnectorTypeDef definition

class VpcConnectorTypeDef(TypedDict):
    VpcConnectorName: NotRequired[str],
    VpcConnectorArn: NotRequired[str],
    VpcConnectorRevision: NotRequired[int],
    Subnets: NotRequired[List[str]],
    SecurityGroups: NotRequired[List[str]],
    Status: NotRequired[VpcConnectorStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    DeletedAt: NotRequired[datetime],
  1. See VpcConnectorStatusType

IngressVpcConfigurationTypeDef#

# IngressVpcConfigurationTypeDef definition

class IngressVpcConfigurationTypeDef(TypedDict):
    VpcId: NotRequired[str],
    VpcEndpointId: NotRequired[str],

DeleteAutoScalingConfigurationRequestRequestTypeDef#

# DeleteAutoScalingConfigurationRequestRequestTypeDef definition

class DeleteAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,
    DeleteAllRevisions: NotRequired[bool],

DeleteConnectionRequestRequestTypeDef#

# DeleteConnectionRequestRequestTypeDef definition

class DeleteConnectionRequestRequestTypeDef(TypedDict):
    ConnectionArn: str,

DeleteObservabilityConfigurationRequestRequestTypeDef#

# DeleteObservabilityConfigurationRequestRequestTypeDef definition

class DeleteObservabilityConfigurationRequestRequestTypeDef(TypedDict):
    ObservabilityConfigurationArn: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

DeleteVpcConnectorRequestRequestTypeDef#

# DeleteVpcConnectorRequestRequestTypeDef definition

class DeleteVpcConnectorRequestRequestTypeDef(TypedDict):
    VpcConnectorArn: str,

DeleteVpcIngressConnectionRequestRequestTypeDef#

# DeleteVpcIngressConnectionRequestRequestTypeDef definition

class DeleteVpcIngressConnectionRequestRequestTypeDef(TypedDict):
    VpcIngressConnectionArn: str,

DescribeAutoScalingConfigurationRequestRequestTypeDef#

# DescribeAutoScalingConfigurationRequestRequestTypeDef definition

class DescribeAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,

DescribeCustomDomainsRequestRequestTypeDef#

# DescribeCustomDomainsRequestRequestTypeDef definition

class DescribeCustomDomainsRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

DescribeObservabilityConfigurationRequestRequestTypeDef#

# DescribeObservabilityConfigurationRequestRequestTypeDef definition

class DescribeObservabilityConfigurationRequestRequestTypeDef(TypedDict):
    ObservabilityConfigurationArn: str,

DescribeServiceRequestRequestTypeDef#

# DescribeServiceRequestRequestTypeDef definition

class DescribeServiceRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

DescribeVpcConnectorRequestRequestTypeDef#

# DescribeVpcConnectorRequestRequestTypeDef definition

class DescribeVpcConnectorRequestRequestTypeDef(TypedDict):
    VpcConnectorArn: str,

DescribeVpcIngressConnectionRequestRequestTypeDef#

# DescribeVpcIngressConnectionRequestRequestTypeDef definition

class DescribeVpcIngressConnectionRequestRequestTypeDef(TypedDict):
    VpcIngressConnectionArn: str,

DisassociateCustomDomainRequestRequestTypeDef#

# DisassociateCustomDomainRequestRequestTypeDef definition

class DisassociateCustomDomainRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    DomainName: str,

EgressConfigurationTypeDef#

# EgressConfigurationTypeDef definition

class EgressConfigurationTypeDef(TypedDict):
    EgressType: NotRequired[EgressTypeType],  # (1)
    VpcConnectorArn: NotRequired[str],
  1. See EgressTypeType

ImageConfigurationTypeDef#

# ImageConfigurationTypeDef definition

class ImageConfigurationTypeDef(TypedDict):
    RuntimeEnvironmentVariables: NotRequired[Mapping[str, str]],
    StartCommand: NotRequired[str],
    Port: NotRequired[str],
    RuntimeEnvironmentSecrets: NotRequired[Mapping[str, str]],

IngressConfigurationTypeDef#

# IngressConfigurationTypeDef definition

class IngressConfigurationTypeDef(TypedDict):
    IsPubliclyAccessible: NotRequired[bool],

ListAutoScalingConfigurationsRequestRequestTypeDef#

# ListAutoScalingConfigurationsRequestRequestTypeDef definition

class ListAutoScalingConfigurationsRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationName: NotRequired[str],
    LatestOnly: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListConnectionsRequestRequestTypeDef#

# ListConnectionsRequestRequestTypeDef definition

class ListConnectionsRequestRequestTypeDef(TypedDict):
    ConnectionName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListObservabilityConfigurationsRequestRequestTypeDef#

# ListObservabilityConfigurationsRequestRequestTypeDef definition

class ListObservabilityConfigurationsRequestRequestTypeDef(TypedDict):
    ObservabilityConfigurationName: NotRequired[str],
    LatestOnly: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ObservabilityConfigurationSummaryTypeDef#

# ObservabilityConfigurationSummaryTypeDef definition

class ObservabilityConfigurationSummaryTypeDef(TypedDict):
    ObservabilityConfigurationArn: NotRequired[str],
    ObservabilityConfigurationName: NotRequired[str],
    ObservabilityConfigurationRevision: NotRequired[int],

ListOperationsRequestRequestTypeDef#

# ListOperationsRequestRequestTypeDef definition

class ListOperationsRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

OperationSummaryTypeDef#

# OperationSummaryTypeDef definition

class OperationSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[OperationTypeType],  # (1)
    Status: NotRequired[OperationStatusType],  # (2)
    TargetArn: NotRequired[str],
    StartedAt: NotRequired[datetime],
    EndedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
  1. See OperationTypeType
  2. See OperationStatusType

ListServicesForAutoScalingConfigurationRequestRequestTypeDef#

# ListServicesForAutoScalingConfigurationRequestRequestTypeDef definition

class ListServicesForAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef definition

class ListServicesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ServiceSummaryTypeDef#

# ServiceSummaryTypeDef definition

class ServiceSummaryTypeDef(TypedDict):
    ServiceName: NotRequired[str],
    ServiceId: NotRequired[str],
    ServiceArn: NotRequired[str],
    ServiceUrl: NotRequired[str],
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
    Status: NotRequired[ServiceStatusType],  # (1)
  1. See ServiceStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ListVpcConnectorsRequestRequestTypeDef#

# ListVpcConnectorsRequestRequestTypeDef definition

class ListVpcConnectorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListVpcIngressConnectionsFilterTypeDef#

# ListVpcIngressConnectionsFilterTypeDef definition

class ListVpcIngressConnectionsFilterTypeDef(TypedDict):
    ServiceArn: NotRequired[str],
    VpcEndpointId: NotRequired[str],

VpcIngressConnectionSummaryTypeDef#

# VpcIngressConnectionSummaryTypeDef definition

class VpcIngressConnectionSummaryTypeDef(TypedDict):
    VpcIngressConnectionArn: NotRequired[str],
    ServiceArn: NotRequired[str],

PauseServiceRequestRequestTypeDef#

# PauseServiceRequestRequestTypeDef definition

class PauseServiceRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

ResumeServiceRequestRequestTypeDef#

# ResumeServiceRequestRequestTypeDef definition

class ResumeServiceRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

StartDeploymentRequestRequestTypeDef#

# StartDeploymentRequestRequestTypeDef definition

class StartDeploymentRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateDefaultAutoScalingConfigurationRequestRequestTypeDef#

# UpdateDefaultAutoScalingConfigurationRequestRequestTypeDef definition

class UpdateDefaultAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,

ListServicesForAutoScalingConfigurationResponseTypeDef#

# ListServicesForAutoScalingConfigurationResponseTypeDef definition

class ListServicesForAutoScalingConfigurationResponseTypeDef(TypedDict):
    ServiceArnList: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartDeploymentResponseTypeDef#

# StartDeploymentResponseTypeDef definition

class StartDeploymentResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAutoScalingConfigurationsResponseTypeDef#

# ListAutoScalingConfigurationsResponseTypeDef definition

class ListAutoScalingConfigurationsResponseTypeDef(TypedDict):
    AutoScalingConfigurationSummaryList: List[AutoScalingConfigurationSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingConfigurationSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateAutoScalingConfigurationResponseTypeDef#

# CreateAutoScalingConfigurationResponseTypeDef definition

class CreateAutoScalingConfigurationResponseTypeDef(TypedDict):
    AutoScalingConfiguration: AutoScalingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DeleteAutoScalingConfigurationResponseTypeDef#

# DeleteAutoScalingConfigurationResponseTypeDef definition

class DeleteAutoScalingConfigurationResponseTypeDef(TypedDict):
    AutoScalingConfiguration: AutoScalingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DescribeAutoScalingConfigurationResponseTypeDef#

# DescribeAutoScalingConfigurationResponseTypeDef definition

class DescribeAutoScalingConfigurationResponseTypeDef(TypedDict):
    AutoScalingConfiguration: AutoScalingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateDefaultAutoScalingConfigurationResponseTypeDef#

# UpdateDefaultAutoScalingConfigurationResponseTypeDef definition

class UpdateDefaultAutoScalingConfigurationResponseTypeDef(TypedDict):
    AutoScalingConfiguration: AutoScalingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CustomDomainTypeDef#

# CustomDomainTypeDef definition

class CustomDomainTypeDef(TypedDict):
    DomainName: str,
    EnableWWWSubdomain: bool,
    Status: CustomDomainAssociationStatusType,  # (2)
    CertificateValidationRecords: NotRequired[List[CertificateValidationRecordTypeDef]],  # (1)
  1. See CertificateValidationRecordTypeDef
  2. See CustomDomainAssociationStatusType

CodeConfigurationTypeDef#

# CodeConfigurationTypeDef definition

class CodeConfigurationTypeDef(TypedDict):
    ConfigurationSource: ConfigurationSourceType,  # (1)
    CodeConfigurationValues: NotRequired[CodeConfigurationValuesTypeDef],  # (2)
  1. See ConfigurationSourceType
  2. See CodeConfigurationValuesTypeDef