Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the loaded Mira Configuration as defined by default.json and its overrides (dev.json).

Hierarchy

  • MiraConfigClass

Index

Constructors

constructor

Properties

defaultEnvironmentName

defaultEnvironmentName: string

Stores a reference to the environment name we will be deploying to. The name should be one of the accounts listed in the configuration file accounts object.

Readonly projectName

projectName: string

The project name comes from the app.name property of the default.json configuration file. It represents the name of the application being deployed.

Readonly projectPrefix

projectPrefix: string

The project prefix comes from the app.prefix property of the default.json configuration file. It represents a prefix added to the application name (eg prefix-name) during deployment.

Methods

calculateCertificateStackName

  • calculateCertificateStackName(): string

calculateRepositoryName

  • calculateRepositoryName(): string

calculateSharedResourceName

  • calculateSharedResourceName(resource: string): string

getBaseStackName

  • getBaseStackName(suffix?: string): string

getCICDAccounts

getCICDConfig

getCostCenter

  • getCostCenter(): string

getDomainAllowedPrincipals

  • getDomainAllowedPrincipals(): Account[]

getDomainConfig

getEnvironment

  • getEnvironment(name?: undefined | string): Account

getEnvironmentWithCiProps

  • getEnvironmentWithCiProps(name?: undefined | string): CiProps

Private getFullAccountProps

  • getFullAccountProps(name: string): Account

Private getFullCiProps

getPermissionsFilePath

  • getPermissionsFilePath(): string

Private getTargetName

  • getTargetName(name?: undefined | string): string

setDefaultEnvironmentName

  • setDefaultEnvironmentName(name: string): void

Legend

  • Constructor
  • Property
  • Method
  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc