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