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