in lib/envoy-fargate-service.ts [41:64]
constructor(scope: cdk.Construct, id: string, props: EnvoyFargateServiceProps) {
super(scope, id);
this.meta = props.meta;
this.environment = props.environment;
// Create a basic task definition
const taskDefinition = this.createTaskDefinition();
// Add an app container to the task definition.
const appContainer = this.addAppContainer(taskDefinition);
// Add an envoy container to the task definition.
this.addEnvoyContainer(taskDefinition, props);
// Add a AWS X-Ray container to the task definition.
this.addXRayContainer(taskDefinition);
// Create a Fargate service.
this.fargateService = this.createFargateService(props, taskDefinition, appContainer);
// Create a VirtualNode.
this.virtualNode = this.createVirtualNode(props, this.fargateService);
}