Organizations Revert Scp Changes This construct creates a Lambda function and eventbridge rule to trigger on service control policy (scp) changes as well as attach and detach actions. Upon receiving an event, the Lambda function will evaluate the change and revert to the state defined by the organization-config file.

Hierarchy

  • RevertScpChangesProps

Properties

acceleratorPrefix: string

Prefix for accelerator resources

acceleratorTopicNamePrefix: string

Accelerator SNS topic name Prefix

configDirPath: string

Configuration directory path

homeRegion: string

Accelerator home region

kmsKeyCloudWatch?: IKey

Lambda log group encryption key, when undefined default AWS managed key will be used

kmsKeyLambda?: IKey

Lambda environment variable encryption key, when undefined default AWS managed key will be used

logRetentionInDays: number

Lambda log retention in days

organizationEnabled: boolean

Organization enabled

scpFilePaths: {
    name: string;
    path: string;
    tempPath: string;
}[]

SCP File Paths

singleAccountMode: boolean

Single Account mode

snsTopicName: undefined | string

SNS Topic Name to publish notifications to

Generated using TypeDoc