@tshio/cdk-aws-apprunner-construct
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

AWS APP RUNNER CDKTF Construct

Construct that allow to create a AWS AppRunner resources using AwsAppRunner, and providing arns or extra apprunner related resources

Supported features

These features of AppRunner configuration are supported:

  • Custom autoscaling config

Usage example

    new AwsAppRunner(this, 'AWS_APP_RUNNER_SERVICE', {
      config,
      runtimeEnvironmentVariables,
      dependsOn: [db],
      ecrRoleArn: ecr.roleArn,
      vpcId: vpc.id,
      subnets: [...vpc.privateSubnets, ...vpc.publicSubnets],
      securityGroupIds: [db.sg.id],
      tags: {},
    });

Inputs

Name Description Type Default Required
ecrRoleArn The ARN of ECR role to use for the APP Runner service string "" yes
subnets The Subnets Ids to use for the App Runner service string[] [] yes

Outputs

Name Description
AWS_APPRUNNER_OUTPUT_SERVICE_ARN The ARN of the AppRunner service
AWS_APPRUNNER_OUTPUT_SERVICE_URL The URL of the AppRunner service

Authors

Construct is maintained by The Software House

License

Readme

Keywords

none

Package Sidebar

Install

npm i @tshio/cdk-aws-apprunner-construct

Weekly Downloads

0

Version

1.0.4

License

none

Unpacked Size

15.3 kB

Total Files

10

Last publish

Collaborators

  • vviktor
  • aherok
  • sethii
  • barograf