Class X8AccountSetup

Construct to set up member account. Best practice recommendation is to use a separate member account for each of your microservice application e.g If you have two microservices one for UserManagement and another for BankAccountManagement each one should be run in their own AWS member account.

Default Configuration

Access Logs Bucket Billing Alarm SNS Topic for Alarm notification

Default Alarms

  1. Billing alarm
    • Risk Level: Medium
    • Well Architected Pillar: Operational Excellence

Note that the default alarm uses the WaAlarm construct, which sets up an alarm action to notify the SNS Topic AlarmEventsTopic by default.

Examples

Default Usage

new X8AccountSetup(this, "LogicalId", {
x8AlarmEmailAddresses: ['info@cre8ivelogix.com']
});

Custom Configuration

new X8AccountSetup(this, "LogicalId", {
x8AlarmEmailAddresses: ['info@cre8ivelogix.com'],
x8BillingAlarmThreshold: 500
});

Compliance

It addresses the following compliance requirements

Hierarchy

  • Construct
    • X8AccountSetup

Constructors

Properties

accessLogsBucket: WaBucket

Shared access logs bucket for that account

snsAlarmTopic: WaTopic

SNS Topic for sending alarm notifications

Methods

Generated using TypeDoc