Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AppRunner

import { AppRunner } from "https://aws-api.deno.dev/v0.4/services/apprunner.ts?docs=full";
class AppRunner {
constructor(apiFactory: client.ApiFactory);
async associateCustomDomain(params: AssociateCustomDomainRequest, opts?: client.RequestOptions): Promise<AssociateCustomDomainResponse>;
async createAutoScalingConfiguration(params: CreateAutoScalingConfigurationRequest, opts?: client.RequestOptions): Promise<CreateAutoScalingConfigurationResponse>;
async createConnection(params: CreateConnectionRequest, opts?: client.RequestOptions): Promise<CreateConnectionResponse>;
async createObservabilityConfiguration(params: CreateObservabilityConfigurationRequest, opts?: client.RequestOptions): Promise<CreateObservabilityConfigurationResponse>;
async createService(params: CreateServiceRequest, opts?: client.RequestOptions): Promise<CreateServiceResponse>;
async createVpcConnector(params: CreateVpcConnectorRequest, opts?: client.RequestOptions): Promise<CreateVpcConnectorResponse>;
async createVpcIngressConnection(params: CreateVpcIngressConnectionRequest, opts?: client.RequestOptions): Promise<CreateVpcIngressConnectionResponse>;
async deleteAutoScalingConfiguration(params: DeleteAutoScalingConfigurationRequest, opts?: client.RequestOptions): Promise<DeleteAutoScalingConfigurationResponse>;
async deleteConnection(params: DeleteConnectionRequest, opts?: client.RequestOptions): Promise<DeleteConnectionResponse>;
async deleteObservabilityConfiguration(params: DeleteObservabilityConfigurationRequest, opts?: client.RequestOptions): Promise<DeleteObservabilityConfigurationResponse>;
async deleteService(params: DeleteServiceRequest, opts?: client.RequestOptions): Promise<DeleteServiceResponse>;
async deleteVpcConnector(params: DeleteVpcConnectorRequest, opts?: client.RequestOptions): Promise<DeleteVpcConnectorResponse>;
async deleteVpcIngressConnection(params: DeleteVpcIngressConnectionRequest, opts?: client.RequestOptions): Promise<DeleteVpcIngressConnectionResponse>;
async describeAutoScalingConfiguration(params: DescribeAutoScalingConfigurationRequest, opts?: client.RequestOptions): Promise<DescribeAutoScalingConfigurationResponse>;
async describeCustomDomains(params: DescribeCustomDomainsRequest, opts?: client.RequestOptions): Promise<DescribeCustomDomainsResponse>;
async describeObservabilityConfiguration(params: DescribeObservabilityConfigurationRequest, opts?: client.RequestOptions): Promise<DescribeObservabilityConfigurationResponse>;
async describeService(params: DescribeServiceRequest, opts?: client.RequestOptions): Promise<DescribeServiceResponse>;
async describeVpcConnector(params: DescribeVpcConnectorRequest, opts?: client.RequestOptions): Promise<DescribeVpcConnectorResponse>;
async describeVpcIngressConnection(params: DescribeVpcIngressConnectionRequest, opts?: client.RequestOptions): Promise<DescribeVpcIngressConnectionResponse>;
async disassociateCustomDomain(params: DisassociateCustomDomainRequest, opts?: client.RequestOptions): Promise<DisassociateCustomDomainResponse>;
async listAutoScalingConfigurations(params?: ListAutoScalingConfigurationsRequest, opts?: client.RequestOptions): Promise<ListAutoScalingConfigurationsResponse>;
async listConnections(params?: ListConnectionsRequest, opts?: client.RequestOptions): Promise<ListConnectionsResponse>;
async listObservabilityConfigurations(params?: ListObservabilityConfigurationsRequest, opts?: client.RequestOptions): Promise<ListObservabilityConfigurationsResponse>;
async listOperations(params: ListOperationsRequest, opts?: client.RequestOptions): Promise<ListOperationsResponse>;
async listServices(params?: ListServicesRequest, opts?: client.RequestOptions): Promise<ListServicesResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async listVpcConnectors(params?: ListVpcConnectorsRequest, opts?: client.RequestOptions): Promise<ListVpcConnectorsResponse>;
async listVpcIngressConnections(params?: ListVpcIngressConnectionsRequest, opts?: client.RequestOptions): Promise<ListVpcIngressConnectionsResponse>;
async pauseService(params: PauseServiceRequest, opts?: client.RequestOptions): Promise<PauseServiceResponse>;
async resumeService(params: ResumeServiceRequest, opts?: client.RequestOptions): Promise<ResumeServiceResponse>;
async startDeployment(params: StartDeploymentRequest, opts?: client.RequestOptions): Promise<StartDeploymentResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateService(params: UpdateServiceRequest, opts?: client.RequestOptions): Promise<UpdateServiceResponse>;
async updateVpcIngressConnection(params: UpdateVpcIngressConnectionRequest, opts?: client.RequestOptions): Promise<UpdateVpcIngressConnectionResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AppRunner(apiFactory: client.ApiFactory)
[src]

§Methods

§

Associate your own domain name with the App Runner subdomain URL of your App Runner service.

After you call AssociateCustomDomain and receive a successful response, use the information in the "CustomDomain" record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).

§

Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.

Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision.

Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.

Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand.

§

Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.

A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.

§

Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.

Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision.

The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.

§

Create an App Runner service. After the service is created, the action also automatically starts a deployment.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.

§

Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).

§

Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.

§

Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.

§

Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails.

§

Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.

§

Delete an App Runner service.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the "ListOperations" call to track the operation's progress.

Note: Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.

§

Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.

§

Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:

  • AVAILABLE
    
  • FAILED_CREATION
    
  • FAILED_UPDATE
    
  • FAILED_DELETION
    
§

Return a full description of an App Runner automatic scaling configuration resource.

§

Return a description of custom domain names that are associated with an App Runner service.

§

Return a full description of an App Runner observability configuration resource.

§

Return a full description of an App Runner service.

§

Return a description of an App Runner VPC connector resource.

§

Return a full description of an App Runner VPC Ingress Connection resource.

§

Disassociate a custom domain name from an App Runner service.

Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.

§

Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.

To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.

§

Returns a list of App Runner connections that are associated with your Amazon Web Services account.

§

Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.

To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.

§

Return a list of operations that occurred on an App Runner service.

The resulting list of "OperationSummary" objects is sorted in reverse chronological order. The first object on the list represents the last started operation.

§

Returns a list of running App Runner services in your Amazon Web Services account.

§

List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.

§

Returns a list of App Runner VPC connectors in your Amazon Web Services account.

§

Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.

§

Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed).

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the "ListOperations" call to track the operation's progress.

§

Resume an active App Runner service. App Runner provisions compute capacity for the service.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the "ListOperations" call to track the operation's progress.

§

Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.

For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the "ListOperations" call to track the operation's progress.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Remove tags from an App Runner resource.

§

Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.

To update the tags applied to your service, use the separate actions "TagResource" and "UntagResource".

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the "ListOperations" call to track the operation's progress.

§

Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated:

  • AVAILABLE
  • FAILED_CREATION
  • FAILED_UPDATE

§Static Properties