ReplacementsConfig / ParameterReplacementConfig

Fixed replacement value to apply throughout config files. Loaded from SSM parameters in the management account in the HOME_REGION.

Remarks

These SSM Parameters must exist with non-null values before they are added to the replacements-config.yaml file.

Example

globalReplacements:
- key: FndPrefix
type: 'SSM'
path: /accelerator/replacements/FndPrefix
- key: BudgetEmail
type: 'SSM'
path: /accelerator/replacements/BudgetEmail
- key: ProtectTagKey
type: 'SSM'
path: /accelerator/replacements/ProtectTagKey
- key: ProtectTagValue
type: 'SSM'
path: /accelerator/replacements/ProtectTagValue
- key: ALLOWED_CORPORATE_CIDRS
type: 'StringList'
value:
- 10.0.1.0/24
- 10.0.2.0/24
- key: ALLOWED_PRINCIPAL_ARN
type: 'String'
value: arn:aws:iam::*:role/AWSA*

Hierarchy

  • ParameterReplacementConfigV2

Implements

Constructors

Properties

Constructors

Properties

key: string = ''

Key of the replacement placeholder

path: string = ''

Path of the SSM Parameter containing the value to replace

type: "String" | "SSM" | "StringList" = 'SSM'

Type of the global parameters

value: undefined | string | string[] = undefined

Value of the parameter if type is string or array

Generated using TypeDoc