Class GlobalConfigValidator
Methods
Private
check For Array
check For Array( inputStr: string , errorMessage: string , errors: string [] ) : void
Parameters
inputStr: string
errorMessage: string
errors: string []
Returns void
Private
check Schema
check Schema( inputStr: string , errorMessage: string , errors: string [] ) : void
Parameters
inputStr: string
errorMessage: string
errors: string []
Returns void
Private
get Account Names
get Account Names( accountsConfig: AccountsConfig ) : string []
Returns string []
Private
is Dynamic Log Type
is Dynamic Log Type( o: any ) : o is { logGroupPattern: string ; s3Prefix: string ; }
Returns o is { logGroupPattern: string ; s3Prefix: string ; }
Private
validate Accelerator Metadata
validate Accelerator Metadata( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Access Logs Bucket Config Deployment Target Accounts
validate Access Logs Bucket Config Deployment Target Accounts( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Access Logs Bucket Config Deployment TargetOUs
validate Access Logs Bucket Config Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Access Logs S3 Policy
validate Access Logs S3 Policy( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Aws Backup
validate Aws Backup( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Budget Deployment TargetOUs
validate Budget Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Budget Notification Email Ids
validate Budget Notification Email Ids( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Budget Subscriber Address
validate Budget Subscriber Address( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Cdk Options
validate Cdk Options( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Central Logs Bucket Region Name
validate Central Logs Bucket Region Name( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Central Logs Kms Resource Policy File Exists
validate Central Logs Kms Resource Policy File Exists( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Central Logs S3 Policy
validate Central Logs S3 Policy( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Central Logs S3 Resource Policy File Exists
validate Central Logs S3 Resource Policy File Exists( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Cloud Trail Settings
validate Cloud Trail Settings( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Cloud Watch
validate Cloud Watch( values: GlobalConfig , configDir: string , ouIdNames: string [] , accountNames: string [] , errors: string [] ) : void
Parameters
configDir: string
ouIdNames: string []
accountNames: string []
errors: string []
Returns void
Private
validate Cloud Watch Dynamic Partition
validate Cloud Watch Dynamic Partition( values: GlobalConfig , configDir: string , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Cloud Watch Exclusions
validate Cloud Watch Exclusions( values: GlobalConfig , ouIdNames: string [] , accountNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
accountNames: string []
errors: string []
Returns void
Private
validate Cloud Watch Exclusions Targets
validate Cloud Watch Exclusions Targets( inputList: string [] , globalList: string [] , errors: string [] ) : void
Parameters
inputList: string []
globalList: string []
errors: string []
Returns void
Private
validate Cloud Watch Logs Encryption Config Deployment Target Accounts
validate Cloud Watch Logs Encryption Config Deployment Target Accounts( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Cloud Watch Logs Encryption Deployment TargetOUs
validate Cloud Watch Logs Encryption Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Cmk Exists In Management Account
Private
validate Control Tower Controls
validate Control Tower Controls( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Deployment Target Account Names
validate Deployment Target Account Names( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Deployment TargetOUs
validate Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Elb Logs S3 Policy
validate Elb Logs S3 Policy( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Access Logs Bucket Policies
validate Imported Access Logs Bucket Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Asset Bucket Config
validate Imported Asset Bucket Config( configDir: string , accountsConfig: AccountsConfig , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Asset Bucket Kms Policies
validate Imported Asset Bucket Kms Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Asset Bucket Policies
validate Imported Asset Bucket Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Central Logs Bucket Kms Policies
validate Imported Central Logs Bucket Kms Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Central Logs Bucket Policies
validate Imported Central Logs Bucket Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Imported Elb Logs Bucket Policies
validate Imported Elb Logs Bucket Policies( configDir: string , values: GlobalConfig , errors: string [] ) : void
Parameters
configDir: string
errors: string []
Returns void
Private
validate Lambda Encryption Config Deployment Target Accounts
validate Lambda Encryption Config Deployment Target Accounts( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Lambda Encryption Config Deployment TargetOUs
validate Lambda Encryption Config Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Lifecycle Rule Expiration For Access Log Bucket
validate Lifecycle Rule Expiration For Access Log Bucket( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Lifecycle Rule Expiration For Central Log Bucket
validate Lifecycle Rule Expiration For Central Log Bucket( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Lifecycle Rule Expiration For Reports
validate Lifecycle Rule Expiration For Reports( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Logging Account Name
validate Logging Account Name( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate Max Concurrency
validate Max Concurrency( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate S3 Config Deployment Target Accounts
validate S3 Config Deployment Target Accounts( values: GlobalConfig , accountNames: string [] , errors: string [] ) : void
Parameters
accountNames: string []
errors: string []
Returns void
Private
validate S3 Config Deployment TargetOUs
validate S3 Config Deployment TargetOUs( values: GlobalConfig , ouIdNames: string [] , errors: string [] ) : void
Parameters
ouIdNames: string []
errors: string []
Returns void
Private
validate Service Limit Quotas
validate Service Limit Quotas( values: GlobalConfig , errors: string [] ) : void
Returns void
Private
validate Session Manager
Private
validate Sns Topics
validate Sns Topics( values: GlobalConfig , logger: Logger , errors: string [] ) : void
Parameters
logger: Logger
errors: string []
Returns void
Prepare list of Account names from account config file
Returns