1.0.4 • Published 1 year ago

@tshio/cdk-aws-apprunner-construct v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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

NameDescriptionTypeDefaultRequired
ecrRoleArnThe ARN of ECR role to use for the APP Runner servicestring""yes
subnetsThe Subnets Ids to use for the App Runner servicestring[][]yes

Outputs

NameDescription
AWS_APPRUNNER_OUTPUT_SERVICE_ARNThe ARN of the AppRunner service
AWS_APPRUNNER_OUTPUT_SERVICE_URLThe URL of the AppRunner service

Authors

Construct is maintained by The Software House

License

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago