Documentation
¶
Index ¶
- type AuthenticationConfiguration
- type AutoScalingConfiguration
- type AutoScalingConfigurationStatus
- type AutoScalingConfigurationSummary
- type CertificateValidationRecord
- type CertificateValidationRecordStatus
- type CodeConfiguration
- type CodeConfigurationValues
- type CodeRepository
- type ConfigurationSource
- type Connection
- type ConnectionStatus
- type ConnectionSummary
- type CustomDomain
- type CustomDomainAssociationStatus
- type EncryptionConfiguration
- type HealthCheckConfiguration
- type HealthCheckProtocol
- type ImageConfiguration
- type ImageRepository
- type ImageRepositoryType
- type InstanceConfiguration
- type InternalServiceErrorException
- type InvalidRequestException
- type InvalidStateException
- type OperationStatus
- type OperationSummary
- type OperationType
- type ProviderType
- type ResourceNotFoundException
- type Runtime
- type Service
- type ServiceQuotaExceededException
- type ServiceStatus
- type ServiceSummary
- type SourceCodeVersion
- type SourceCodeVersionType
- type SourceConfiguration
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationConfiguration ¶
type AuthenticationConfiguration struct { // The Amazon Resource Name (ARN) of the IAM role that grants the App Runner // service access to a source repository. It's required for ECR image repositories // (but not for ECR Public repositories). AccessRoleArn *string // The Amazon Resource Name (ARN) of the App Runner connection that enables the App // Runner service to connect to a source repository. It's required for GitHub code // repositories. ConnectionArn *string // contains filtered or unexported fields }
Describes resources needed to authenticate access to some source repositories. The specific resource depends on the repository provider.
type AutoScalingConfiguration ¶
type AutoScalingConfiguration struct { // The Amazon Resource Name (ARN) of this auto scaling configuration. AutoScalingConfigurationArn *string // The customer-provided auto scaling configuration name. It can be used in // multiple revisions of a configuration. AutoScalingConfigurationName *string // The revision of this auto scaling configuration. It's unique among all the // active configurations ("Status": "ACTIVE") that share the same // AutoScalingConfigurationName. AutoScalingConfigurationRevision int32 // The time when the auto scaling configuration was created. It's in Unix time // stamp format. CreatedAt *time.Time // The time when the auto scaling configuration was deleted. It's in Unix time // stamp format. DeletedAt *time.Time // It's set to true for the configuration with the highest Revision among all // configurations that share the same Name. It's set to false otherwise. Latest bool // The maximum number of concurrent requests that an instance processes. If the // number of concurrent requests exceeds this limit, App Runner scales the service // up. MaxConcurrency int32 // The maximum number of instances that a service scales up to. At most MaxSize // instances actively serve traffic for your service. MaxSize int32 // The minimum number of instances that App Runner provisions for a service. The // service always has at least MinSize provisioned instances. Some of them actively // serve traffic. The rest of them (provisioned and inactive instances) are a // cost-effective compute capacity reserve and are ready to be quickly activated. // You pay for memory usage of all the provisioned instances. You pay for CPU usage // of only the active subset. App Runner temporarily doubles the number of // provisioned instances during deployments, to maintain the same capacity for both // old and new code. MinSize int32 // The current state of the auto scaling configuration. If the status of a // configuration revision is INACTIVE, it was deleted and can't be used. Inactive // configuration revisions are permanently removed some time after they are // deleted. Status AutoScalingConfigurationStatus // contains filtered or unexported fields }
Describes an App Runner automatic scaling configuration resource. Multiple revisions of a configuration have the same AutoScalingConfigurationName and different AutoScalingConfigurationRevision values. A higher MinSize increases the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. A lower MaxSize controls your cost. The tradeoff is lower responsiveness during peak demand.
type AutoScalingConfigurationStatus ¶
type AutoScalingConfigurationStatus string
const ( AutoScalingConfigurationStatusActive AutoScalingConfigurationStatus = "ACTIVE" AutoScalingConfigurationStatusInactive AutoScalingConfigurationStatus = "INACTIVE" )
Enum values for AutoScalingConfigurationStatus
func (AutoScalingConfigurationStatus) Values ¶
func (AutoScalingConfigurationStatus) Values() []AutoScalingConfigurationStatus
Values returns all known values for AutoScalingConfigurationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type AutoScalingConfigurationSummary ¶
type AutoScalingConfigurationSummary struct { // The Amazon Resource Name (ARN) of this auto scaling configuration. AutoScalingConfigurationArn *string // The customer-provided auto scaling configuration name. It can be used in // multiple revisions of a configuration. AutoScalingConfigurationName *string // The revision of this auto scaling configuration. It's unique among all the // active configurations ("Status": "ACTIVE") with the same // AutoScalingConfigurationName. AutoScalingConfigurationRevision int32 // contains filtered or unexported fields }
Provides summary information about an App Runner automatic scaling configuration resource. This type contains limited information about an auto scaling configuration. It includes only identification information, without configuration details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration actions using the AutoScalingConfiguration type.
type CertificateValidationRecord ¶
type CertificateValidationRecord struct { // The certificate CNAME record name. Name *string // The current state of the certificate CNAME record validation. It should change // to SUCCESS after App Runner completes validation with your DNS. Status CertificateValidationRecordStatus // The record type, always CNAME. Type *string // The certificate CNAME record value. Value *string // contains filtered or unexported fields }
Describes a certificate CNAME record to add to your DNS. For more information, see AssociateCustomDomain (https://docs.aws.amazon.com/apprunner/latest/api/API_AssociateCustomDomain.html).
type CertificateValidationRecordStatus ¶
type CertificateValidationRecordStatus string
const ( CertificateValidationRecordStatusPendingValidation CertificateValidationRecordStatus = "PENDING_VALIDATION" CertificateValidationRecordStatusSuccess CertificateValidationRecordStatus = "SUCCESS" CertificateValidationRecordStatusFailed CertificateValidationRecordStatus = "FAILED" )
Enum values for CertificateValidationRecordStatus
func (CertificateValidationRecordStatus) Values ¶
func (CertificateValidationRecordStatus) Values() []CertificateValidationRecordStatus
Values returns all known values for CertificateValidationRecordStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type CodeConfiguration ¶
type CodeConfiguration struct { // The source of the App Runner configuration. Values are interpreted as // follows: // // * REPOSITORY – App Runner reads configuration values from the // apprunner.yaml file in the source code repository and ignores // CodeConfigurationValues. // // * API – App Runner uses configuration values provided // in CodeConfigurationValues and ignores the apprunner.yaml file in the source // code repository. // // This member is required. ConfigurationSource ConfigurationSource // The basic configuration for building and running the App Runner service. Use it // to quickly launch an App Runner service without providing a apprunner.yaml file // in the source code repository (or ignoring the file if it exists). CodeConfigurationValues *CodeConfigurationValues // contains filtered or unexported fields }
Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
type CodeConfigurationValues ¶
type CodeConfigurationValues struct { // A runtime environment type for building and running an App Runner service. It // represents a programming language runtime. // // This member is required. Runtime Runtime // The command App Runner runs to build your application. BuildCommand *string // The port that your application listens to in the container. Default: 8080 Port *string // The environment variables that are available to your running App Runner service. // An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER are reserved for // system use and aren't valid. RuntimeEnvironmentVariables map[string]string // The command App Runner runs to start your application. StartCommand *string // contains filtered or unexported fields }
Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml file in the source code repository.
type CodeRepository ¶
type CodeRepository struct { // The location of the repository that contains the source code. // // This member is required. RepositoryUrl *string // The version that should be used within the source code repository. // // This member is required. SourceCodeVersion *SourceCodeVersion // Configuration for building and running the service from a source code // repository. CodeConfiguration *CodeConfiguration // contains filtered or unexported fields }
Describes a source code repository.
type ConfigurationSource ¶
type ConfigurationSource string
const ( ConfigurationSourceRepository ConfigurationSource = "REPOSITORY" ConfigurationSourceApi ConfigurationSource = "API" )
Enum values for ConfigurationSource
func (ConfigurationSource) Values ¶
func (ConfigurationSource) Values() []ConfigurationSource
Values returns all known values for ConfigurationSource. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type Connection ¶
type Connection struct { // The Amazon Resource Name (ARN) of this connection. ConnectionArn *string // The customer-provided connection name. ConnectionName *string // The App Runner connection creation time, expressed as a Unix time stamp. CreatedAt *time.Time // The source repository provider. ProviderType ProviderType // The current state of the App Runner connection. When the state is AVAILABLE, you // can use the connection to create an App Runner service. Status ConnectionStatus // contains filtered or unexported fields }
Describes an App Runner connection resource.
type ConnectionStatus ¶
type ConnectionStatus string
const ( ConnectionStatusPendingHandshake ConnectionStatus = "PENDING_HANDSHAKE" ConnectionStatusAvailable ConnectionStatus = "AVAILABLE" ConnectionStatusError ConnectionStatus = "ERROR" ConnectionStatusDeleted ConnectionStatus = "DELETED" )
Enum values for ConnectionStatus
func (ConnectionStatus) Values ¶
func (ConnectionStatus) Values() []ConnectionStatus
Values returns all known values for ConnectionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ConnectionSummary ¶
type ConnectionSummary struct { // The Amazon Resource Name (ARN) of this connection. ConnectionArn *string // The customer-provided connection name. ConnectionName *string // The App Runner connection creation time, expressed as a Unix time stamp. CreatedAt *time.Time // The source repository provider. ProviderType ProviderType // The current state of the App Runner connection. When the state is AVAILABLE, you // can use the connection to create an App Runner service. Status ConnectionStatus // contains filtered or unexported fields }
Provides summary information about an App Runner connection resource.
type CustomDomain ¶
type CustomDomain struct { // An associated custom domain endpoint. It can be a root domain (for example, // example.com), a subdomain (for example, login.example.com or // admin.login.example.com), or a wildcard (for example, *.example.com). // // This member is required. DomainName *string // When true, the subdomain www.DomainName is associated with the App Runner // service in addition to the base domain. // // This member is required. EnableWWWSubdomain *bool // The current state of the domain name association. // // This member is required. Status CustomDomainAssociationStatus // A list of certificate CNAME records that's used for this domain name. CertificateValidationRecords []CertificateValidationRecord // contains filtered or unexported fields }
Describes a custom domain that's associated with an App Runner service.
type CustomDomainAssociationStatus ¶
type CustomDomainAssociationStatus string
const ( CustomDomainAssociationStatusCreating CustomDomainAssociationStatus = "CREATING" CustomDomainAssociationStatusCreateFailed CustomDomainAssociationStatus = "CREATE_FAILED" CustomDomainAssociationStatusActive CustomDomainAssociationStatus = "ACTIVE" CustomDomainAssociationStatusDeleting CustomDomainAssociationStatus = "DELETING" CustomDomainAssociationStatusDeleteFailed CustomDomainAssociationStatus = "DELETE_FAILED" CustomDomainAssociationStatusPendingCertificateDnsValidation CustomDomainAssociationStatus = "PENDING_CERTIFICATE_DNS_VALIDATION" CustomDomainAssociationStatusBindingCertificate CustomDomainAssociationStatus = "BINDING_CERTIFICATE" )
Enum values for CustomDomainAssociationStatus
func (CustomDomainAssociationStatus) Values ¶
func (CustomDomainAssociationStatus) Values() []CustomDomainAssociationStatus
Values returns all known values for CustomDomainAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { // The ARN of the KMS key that's used for encryption. // // This member is required. KmsKey *string // contains filtered or unexported fields }
Describes a custom encryption key that App Runner uses to encrypt copies of the source repository and service logs.
type HealthCheckConfiguration ¶
type HealthCheckConfiguration struct { // The number of consecutive checks that must succeed before App Runner decides // that the service is healthy. Default: 1 HealthyThreshold *int32 // The time interval, in seconds, between health checks. Default: 5 Interval *int32 // The URL that health check requests are sent to. Path is only applicable when you // set Protocol to HTTP. Default: "/" Path *string // The IP protocol that App Runner uses to perform health checks for your service. // If you set Protocol to HTTP, App Runner sends health check requests to the HTTP // path specified by Path. Default: TCP Protocol HealthCheckProtocol // The time, in seconds, to wait for a health check response before deciding it // failed. Default: 2 Timeout *int32 // The number of consecutive checks that must fail before App Runner decides that // the service is unhealthy. Default: 5 UnhealthyThreshold *int32 // contains filtered or unexported fields }
Describes the settings for the health check that App Runner performs to monitor the health of a service.
type HealthCheckProtocol ¶
type HealthCheckProtocol string
const ( HealthCheckProtocolTcp HealthCheckProtocol = "TCP" HealthCheckProtocolHttp HealthCheckProtocol = "HTTP" )
Enum values for HealthCheckProtocol
func (HealthCheckProtocol) Values ¶
func (HealthCheckProtocol) Values() []HealthCheckProtocol
Values returns all known values for HealthCheckProtocol. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ImageConfiguration ¶
type ImageConfiguration struct { // The port that your application listens to in the container. Default: 8080 Port *string // Environment variables that are available to your running App Runner service. An // array of key-value pairs. Keys with a prefix of AWSAPPRUNNER are reserved for // system use and aren't valid. RuntimeEnvironmentVariables map[string]string // An optional command that App Runner runs to start the application in the source // image. If specified, this command overrides the Docker image’s default start // command. StartCommand *string // contains filtered or unexported fields }
Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository.
type ImageRepository ¶
type ImageRepository struct { // The identifier of an image. For an image in Amazon Elastic Container Registry // (Amazon ECR), this is an image name. For the image name format, see Pulling an // image // (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html) // in the Amazon ECR User Guide. // // This member is required. ImageIdentifier *string // The type of the image repository. This reflects the repository provider and // whether the repository is private or public. // // This member is required. ImageRepositoryType ImageRepositoryType // Configuration for running the identified image. ImageConfiguration *ImageConfiguration // contains filtered or unexported fields }
Describes a source image repository.
type ImageRepositoryType ¶
type ImageRepositoryType string
const ( ImageRepositoryTypeEcr ImageRepositoryType = "ECR" ImageRepositoryTypeEcrPublic ImageRepositoryType = "ECR_PUBLIC" )
Enum values for ImageRepositoryType
func (ImageRepositoryType) Values ¶
func (ImageRepositoryType) Values() []ImageRepositoryType
Values returns all known values for ImageRepositoryType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type InstanceConfiguration ¶
type InstanceConfiguration struct { // The number of CPU units reserved for each instance of your App Runner service. // Default: 1 vCPU Cpu *string // The Amazon Resource Name (ARN) of an IAM role that provides permissions to your // App Runner service. These are permissions that your code needs when it calls any // Amazon Web Services APIs. InstanceRoleArn *string // The amount of memory, in MB or GB, reserved for each instance of your App Runner // service. Default: 2 GB Memory *string // contains filtered or unexported fields }
Describes the runtime configuration of an App Runner service instance (scaling unit).
type InternalServiceErrorException ¶
type InternalServiceErrorException struct { Message *string // contains filtered or unexported fields }
An unexpected service exception occurred.
func (*InternalServiceErrorException) Error ¶
func (e *InternalServiceErrorException) Error() string
func (*InternalServiceErrorException) ErrorCode ¶
func (e *InternalServiceErrorException) ErrorCode() string
func (*InternalServiceErrorException) ErrorFault ¶
func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault
func (*InternalServiceErrorException) ErrorMessage ¶
func (e *InternalServiceErrorException) ErrorMessage() string
type InvalidRequestException ¶
type InvalidRequestException struct { Message *string // contains filtered or unexported fields }
One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
func (*InvalidRequestException) Error ¶
func (e *InvalidRequestException) Error() string
func (*InvalidRequestException) ErrorCode ¶
func (e *InvalidRequestException) ErrorCode() string
func (*InvalidRequestException) ErrorFault ¶
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestException) ErrorMessage ¶
func (e *InvalidRequestException) ErrorMessage() string
type InvalidStateException ¶
type InvalidStateException struct { Message *string // contains filtered or unexported fields }
You can't perform this action when the resource is in its current state.
func (*InvalidStateException) Error ¶
func (e *InvalidStateException) Error() string
func (*InvalidStateException) ErrorCode ¶
func (e *InvalidStateException) ErrorCode() string
func (*InvalidStateException) ErrorFault ¶
func (e *InvalidStateException) ErrorFault() smithy.ErrorFault
func (*InvalidStateException) ErrorMessage ¶
func (e *InvalidStateException) ErrorMessage() string
type OperationStatus ¶
type OperationStatus string
const ( OperationStatusPending OperationStatus = "PENDING" OperationStatusInProgress OperationStatus = "IN_PROGRESS" OperationStatusFailed OperationStatus = "FAILED" OperationStatusSucceeded OperationStatus = "SUCCEEDED" OperationStatusRollbackInProgress OperationStatus = "ROLLBACK_IN_PROGRESS" OperationStatusRollbackFailed OperationStatus = "ROLLBACK_FAILED" OperationStatusRollbackSucceeded OperationStatus = "ROLLBACK_SUCCEEDED" )
Enum values for OperationStatus
func (OperationStatus) Values ¶
func (OperationStatus) Values() []OperationStatus
Values returns all known values for OperationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type OperationSummary ¶
type OperationSummary struct { // The time when the operation ended. It's in the Unix time stamp format. EndedAt *time.Time // A unique ID of this operation. It's unique in the scope of the App Runner // service. Id *string // The time when the operation started. It's in the Unix time stamp format. StartedAt *time.Time // The current state of the operation. Status OperationStatus // The Amazon Resource Name (ARN) of the resource that the operation acted on (for // example, an App Runner service). TargetArn *string // The type of operation. It indicates a specific action that occured. Type OperationType // The time when the operation was last updated. It's in the Unix time stamp // format. UpdatedAt *time.Time // contains filtered or unexported fields }
Provides summary information for an operation that occurred on an App Runner service.
type OperationType ¶
type OperationType string
const ( OperationTypeStartDeployment OperationType = "START_DEPLOYMENT" OperationTypeCreateService OperationType = "CREATE_SERVICE" OperationTypePauseService OperationType = "PAUSE_SERVICE" OperationTypeResumeService OperationType = "RESUME_SERVICE" OperationTypeDeleteService OperationType = "DELETE_SERVICE" )
Enum values for OperationType
func (OperationType) Values ¶
func (OperationType) Values() []OperationType
Values returns all known values for OperationType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ProviderType ¶
type ProviderType string
const (
ProviderTypeGithub ProviderType = "GITHUB"
)
Enum values for ProviderType
func (ProviderType) Values ¶
func (ProviderType) Values() []ProviderType
Values returns all known values for ProviderType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string // contains filtered or unexported fields }
A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type Service ¶
type Service struct { // Summary information for the App Runner automatic scaling configuration resource // that's associated with this service. // // This member is required. AutoScalingConfigurationSummary *AutoScalingConfigurationSummary // The time when the App Runner service was created. It's in the Unix time stamp // format. // // This member is required. CreatedAt *time.Time // The runtime configuration of instances (scaling units) of this service. // // This member is required. InstanceConfiguration *InstanceConfiguration // The Amazon Resource Name (ARN) of this service. // // This member is required. ServiceArn *string // An ID that App Runner generated for this service. It's unique within the Amazon // Web Services Region. // // This member is required. ServiceId *string // The customer-provided service name. // // This member is required. ServiceName *string // A subdomain URL that App Runner generated for this service. You can use this URL // to access your service web application. // // This member is required. ServiceUrl *string // The source deployed to the App Runner service. It can be a code or an image // repository. // // This member is required. SourceConfiguration *SourceConfiguration // The current state of the App Runner service. These particular values mean the // following. // // * CREATE_FAILED – The service failed to create. To troubleshoot this // failure, read the failure events and logs, change any parameters that need to be // fixed, and retry the call to create the service. The failed service isn't // usable, and still counts towards your service quota. When you're done analyzing // the failure, delete the service. // // * DELETE_FAILED – The service failed to delete // and can't be successfully recovered. Retry the service deletion call to ensure // that all related resources are removed. // // This member is required. Status ServiceStatus // The time when the App Runner service was last updated at. It's in the Unix time // stamp format. // // This member is required. UpdatedAt *time.Time // The time when the App Runner service was deleted. It's in the Unix time stamp // format. DeletedAt *time.Time // The encryption key that App Runner uses to encrypt the service logs and the copy // of the source repository that App Runner maintains for the service. It can be // either a customer-provided encryption key or an Amazon Web Services managed CMK. EncryptionConfiguration *EncryptionConfiguration // The settings for the health check that App Runner performs to monitor the health // of this service. HealthCheckConfiguration *HealthCheckConfiguration // contains filtered or unexported fields }
Describes an App Runner service. It can describe a service in any state, including deleted services. This type contains the full information about a service, including configuration details. It's returned by the CreateService (https://docs.aws.amazon.com/apprunner/latest/api/API_CreateService.html), DescribeService (https://docs.aws.amazon.com/apprunner/latest/api/API_DescribeService.html), and DeleteService (https://docs.aws.amazon.com/apprunner/latest/api/API_DeleteService.html) actions. A subset of this information is returned by the ListServices (https://docs.aws.amazon.com/apprunner/latest/api/API_ListServices.html) action using the ServiceSummary (https://docs.aws.amazon.com/apprunner/latest/api/API_ServiceSummary.html) type.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string // contains filtered or unexported fields }
App Runner can't create this resource. You've reached your account quota for this resource type. For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) in the Amazon Web Services General Reference.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type ServiceStatus ¶
type ServiceStatus string
const ( ServiceStatusCreateFailed ServiceStatus = "CREATE_FAILED" ServiceStatusRunning ServiceStatus = "RUNNING" ServiceStatusDeleted ServiceStatus = "DELETED" ServiceStatusDeleteFailed ServiceStatus = "DELETE_FAILED" ServiceStatusPaused ServiceStatus = "PAUSED" ServiceStatusOperationInProgress ServiceStatus = "OPERATION_IN_PROGRESS" )
Enum values for ServiceStatus
func (ServiceStatus) Values ¶
func (ServiceStatus) Values() []ServiceStatus
Values returns all known values for ServiceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ServiceSummary ¶
type ServiceSummary struct { // The time when the App Runner service was created. It's in the Unix time stamp // format. CreatedAt *time.Time // The Amazon Resource Name (ARN) of this service. ServiceArn *string // An ID that App Runner generated for this service. It's unique within the Amazon // Web Services Region. ServiceId *string // The customer-provided service name. ServiceName *string // A subdomain URL that App Runner generated for this service. You can use this URL // to access your service web application. ServiceUrl *string // The current state of the App Runner service. These particular values mean the // following. // // * CREATE_FAILED – The service failed to create. Read the failure // events and logs, change any parameters that need to be fixed, and retry the call // to create the service. The failed service isn't usable, and still counts towards // your service quota. When you're done analyzing the failure, delete the // service. // // * DELETE_FAILED – The service failed to delete and can't be // successfully recovered. Retry the service deletion call to ensure that all // related resources are removed. Status ServiceStatus // The time when the App Runner service was last updated. It's in theUnix time // stamp format. UpdatedAt *time.Time // contains filtered or unexported fields }
Provides summary information for an App Runner service. This type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices (https://docs.aws.amazon.com/apprunner/latest/api/API_ListServices.html) action. Complete service information is returned by the CreateService (https://docs.aws.amazon.com/apprunner/latest/api/API_CreateService.html), DescribeService (https://docs.aws.amazon.com/apprunner/latest/api/API_DescribeService.html), and DeleteService (https://docs.aws.amazon.com/apprunner/latest/api/API_DeleteService.html) actions using the Service (https://docs.aws.amazon.com/apprunner/latest/api/API_Service.html) type.
type SourceCodeVersion ¶
type SourceCodeVersion struct { // The type of version identifier. For a git-based repository, branches represent // versions. // // This member is required. Type SourceCodeVersionType // A source code version. For a git-based repository, a branch name maps to a // specific version. App Runner uses the most recent commit to the branch. // // This member is required. Value *string // contains filtered or unexported fields }
Identifies a version of code that App Runner refers to within a source code repository.
type SourceCodeVersionType ¶
type SourceCodeVersionType string
const (
SourceCodeVersionTypeBranch SourceCodeVersionType = "BRANCH"
)
Enum values for SourceCodeVersionType
func (SourceCodeVersionType) Values ¶
func (SourceCodeVersionType) Values() []SourceCodeVersionType
Values returns all known values for SourceCodeVersionType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type SourceConfiguration ¶
type SourceConfiguration struct { // Describes the resources that are needed to authenticate access to some source // repositories. AuthenticationConfiguration *AuthenticationConfiguration // If true, continuous integration from the source repository is enabled for the // App Runner service. Each repository change (including any source code commit or // new image version) starts a deployment. Default: App Runner sets to false for a // source image that uses an ECR Public repository or an ECR repository that's in // an Amazon Web Services account other than the one that the service is in. App // Runner sets to true in all other cases (which currently include a source code // repository or a source image using a same-account ECR repository). AutoDeploymentsEnabled *bool // The description of a source code repository. You must provide either this member // or ImageRepository (but not both). CodeRepository *CodeRepository // The description of a source image repository. You must provide either this // member or CodeRepository (but not both). ImageRepository *ImageRepository // contains filtered or unexported fields }
Describes the source deployed to an App Runner service. It can be a code or an image repository.