0.7.3 • Published 4 months ago
@ji-constructs/loadbalanced-ecs-service v0.7.3
loadbalanced-ecs-service
Example
import {
LoadBalancedService,
LoadBalancedServiceListenerLookup,
} from '@ji-constructs/loadbalanced-ecs-service';
const lookup = new LoadBalancedServiceListenerLookup(
this,
'LBLookup',
props.listener
);
const { vpc } = lookup;
const service = new LoadBalancedService(this, 'Service', {
cluster: props.cluster,
domainName: props.apiHostname,
listener: lookup,
targetGroupProps: {
healthCheck: {
path: '/api',
},
},
serviceFactory: (scope, cluster) => {
return new Ec2Service(scope, 'Service', {
cluster,
taskDefinition: caliobase.taskDefinition,
circuitBreaker: {
rollback: true,
},
});
},
});
Running unit tests
Run nx test loadbalanced-ecs-service
to execute the unit tests via Jest.
Running lint
Run nx lint loadbalanced-ecs-service
to execute the lint via ESLint.
0.7.2
4 months ago
0.7.1
4 months ago
0.7.3
4 months ago
0.7.0
4 months ago
0.6.3
4 months ago
0.6.2
4 months ago
0.6.5
4 months ago
0.6.4
4 months ago
0.6.1
4 months ago
0.6.0
4 months ago
0.5.1
4 months ago
0.5.0
1 year ago
0.4.3
1 year ago
0.4.2
1 year ago
0.4.1
1 year ago
0.4.0
1 year ago
0.3.3-alpha.2
2 years ago
0.3.3-alpha.1
2 years ago
0.3.3-alpha.0
2 years ago
0.3.3-alpha.5
2 years ago
0.3.3-alpha.4
2 years ago
0.3.3-alpha.3
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.0
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago