πAWS EC2
The module that provides the AWS EC2 service.
Imports
import { AwsEc2Service } from 'niro-health';import { AwsEc2Module } from 'niro-health';import type { IAwsEc2Service } from 'niro-health';Method of Use
import { Module } from '@nestjs/common';
import {
AwsEc2Service,
AwsCoreService,
AwsConfigurationService,
AwsStsService,
ConfigurationService,
ValidatorRegexpService,
StringExService,
} from 'niro-health';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@Module({
controllers: [AppController],
providers: [
AppService,
{
provide: 'IAwsEc2Service',
useClass: AwsEc2Service,
},
{
provide: 'IAwsCoreService',
useClass: AwsCoreService,
},
{
provide: 'IAwsConfigurationService',
useClass: AwsConfigurationService,
},
{
provide: 'IAwsStsService',
useClass: AwsStsService,
},
{
provide: 'IConfigurationService',
useClass: ConfigurationService,
},
{
provide: 'IValidatorRegexpService',
useClass: ValidatorRegexpService,
},
{
provide: 'IStringExService',
useClass: StringExService,
},
],
})
export class AppModule {}With dependencies
Interface
Service
Methods
Method
Scope
Description
Last updated