# AWS::AppRunner Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as apprunner from 'aws-cdk-lib/aws-apprunner';
```

Python:

```python
import aws_cdk.aws_apprunner as apprunner
```

Java:

```java
import software.amazon.awscdk.services.apprunner.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.AppRunner;
```

Golang:

```go
import apprunner "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for AppRunner construct libraries](https://constructs.dev/search?q=apprunner)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::AppRunner resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppRunner.html) directly.

> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
>
> [`@aws-cdk/aws-apprunner-alpha`](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha-readme.html)

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::AppRunner](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppRunner.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnAutoScalingConfiguration`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnAutoScalingConfiguration.html) Construct (L1) Specify an AWS App Runner Automatic Scaling configuration by using the `AWS::AppRunner::AutoScalingConfiguration` resource in an AWS CloudFormation template.
- [`CfnObservabilityConfiguration`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnObservabilityConfiguration.html) Construct (L1) Specify an AWS App Runner observability configuration by using the `AWS::AppRunner::ObservabilityConfiguration` resource in an AWS CloudFormation template.
- [`CfnService`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.html) Construct (L1) Specify an AWS App Runner service by using the `AWS::AppRunner::Service` resource in an AWS CloudFormation template.
- [`CfnVpcConnector`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnVpcConnector.html) Construct (L1) Specify an AWS App Runner VPC connector by using the `AWS::AppRunner::VpcConnector` resource in an AWS CloudFormation template.
- [`CfnVpcIngressConnection`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnVpcIngressConnection.html) Construct (L1) Specify an AWS App Runner VPC Ingress Connection by using the `AWS::AppRunner::VpcIngressConnection` resource in an AWS CloudFormation template.

### Structs

- [`CfnAutoScalingConfigurationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnAutoScalingConfigurationProps.html) Struct Properties for defining a `CfnAutoScalingConfiguration`.
- [`CfnObservabilityConfiguration.TraceConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnObservabilityConfiguration.TraceConfigurationProperty.html) Struct Describes the configuration of the tracing feature within an AWS App Runner observability configuration.
- [`CfnObservabilityConfigurationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnObservabilityConfigurationProps.html) Struct Properties for defining a `CfnObservabilityConfiguration`.
- [`CfnService.AuthenticationConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.AuthenticationConfigurationProperty.html) Struct Describes resources needed to authenticate access to some source repositories.
- [`CfnService.CodeConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.CodeConfigurationProperty.html) Struct Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
- [`CfnService.CodeConfigurationValuesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.CodeConfigurationValuesProperty.html) Struct Describes the basic configuration needed for building and running an AWS App Runner service.
- [`CfnService.CodeRepositoryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.CodeRepositoryProperty.html) Struct Describes a source code repository.
- [`CfnService.EgressConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.EgressConfigurationProperty.html) Struct Describes configuration settings related to outbound network traffic of an AWS App Runner service.
- [`CfnService.EncryptionConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.EncryptionConfigurationProperty.html) Struct Describes a custom encryption key that AWS App Runner uses to encrypt copies of the source repository and service logs.
- [`CfnService.HealthCheckConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.HealthCheckConfigurationProperty.html) Struct Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.
- [`CfnService.ImageConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.ImageConfigurationProperty.html) Struct Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
- [`CfnService.ImageRepositoryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.ImageRepositoryProperty.html) Struct Describes a source image repository.
- [`CfnService.IngressConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.IngressConfigurationProperty.html) Struct Network configuration settings for inbound network traffic.
- [`CfnService.InstanceConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.InstanceConfigurationProperty.html) Struct Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
- [`CfnService.KeyValuePairProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.KeyValuePairProperty.html) Struct Describes a key-value pair, which is a string-to-string mapping.
- [`CfnService.NetworkConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.NetworkConfigurationProperty.html) Struct Describes configuration settings related to network traffic of an AWS App Runner service.
- [`CfnService.ServiceObservabilityConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.ServiceObservabilityConfigurationProperty.html) Struct Describes the observability configuration of an AWS App Runner service.
- [`CfnService.SourceCodeVersionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.SourceCodeVersionProperty.html) Struct Identifies a version of code that AWS App Runner refers to within a source code repository.
- [`CfnService.SourceConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.SourceConfigurationProperty.html) Struct Describes the source deployed to an AWS App Runner service.
- [`CfnServiceProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnServiceProps.html) Struct Properties for defining a `CfnService`.
- [`CfnVpcConnectorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnVpcConnectorProps.html) Struct Properties for defining a `CfnVpcConnector`.
- [`CfnVpcIngressConnection.IngressVpcConfigurationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnVpcIngressConnection.IngressVpcConfigurationProperty.html) Struct Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
- [`CfnVpcIngressConnectionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnVpcIngressConnectionProps.html) Struct Properties for defining a `CfnVpcIngressConnection`.
