AWS SessionManager configuration

sessionManager:
sendToCloudWatchLogs: true
sendToS3: true
excludeRegions: []
excludeAccounts: []
lifecycleRules: []
attachPolicyToIamRoles:
- EC2-Default-SSM-AD-Role
interface ISessionManagerConfig {
    attachPolicyToIamRoles?: string[];
    excludeAccounts?: string[];
    excludeRegions?: (
        | "af-south-1"
        | "ap-east-1"
        | "ap-east-2"
        | "ap-northeast-1"
        | "ap-northeast-2"
        | "ap-northeast-3"
        | "ap-south-1"
        | "ap-south-2"
        | "ap-southeast-1"
        | "ap-southeast-2"
        | "ap-southeast-3"
        | "ap-southeast-4"
        | "ap-southeast-5"
        | "ap-southeast-7"
        | "ca-central-1"
        | "ca-west-1"
        | "cn-north-1"
        | "cn-northwest-1"
        | "eu-central-1"
        | "eu-central-2"
        | "eu-north-1"
        | "eu-south-1"
        | "eu-south-2"
        | "eu-west-1"
        | "eu-west-2"
        | "eu-west-3"
        | "eu-isoe-west-1"
        | "il-central-1"
        | "me-central-1"
        | "me-south-1"
        | "mx-central-1"
        | "sa-east-1"
        | "us-east-1"
        | "us-east-2"
        | "us-gov-west-1"
        | "us-gov-east-1"
        | "us-iso-east-1"
        | "us-isob-east-1"
        | "us-iso-west-1"
        | "us-isof-south-1"
        | "us-isof-east-1"
        | "us-west-1"
        | "us-west-2")[];
    lifecycleRules?: ILifecycleRule[];
    sendToCloudWatchLogs: boolean;
    sendToS3: boolean;
}

Properties

attachPolicyToIamRoles?: string[]

List of IAM EC2 roles that the Session Manager access policy should be attached to

excludeAccounts?: string[]

List of AWS Account names to be excluded from configuring SessionManager configuration

excludeRegions?: (
    | "af-south-1"
    | "ap-east-1"
    | "ap-east-2"
    | "ap-northeast-1"
    | "ap-northeast-2"
    | "ap-northeast-3"
    | "ap-south-1"
    | "ap-south-2"
    | "ap-southeast-1"
    | "ap-southeast-2"
    | "ap-southeast-3"
    | "ap-southeast-4"
    | "ap-southeast-5"
    | "ap-southeast-7"
    | "ca-central-1"
    | "ca-west-1"
    | "cn-north-1"
    | "cn-northwest-1"
    | "eu-central-1"
    | "eu-central-2"
    | "eu-north-1"
    | "eu-south-1"
    | "eu-south-2"
    | "eu-west-1"
    | "eu-west-2"
    | "eu-west-3"
    | "eu-isoe-west-1"
    | "il-central-1"
    | "me-central-1"
    | "me-south-1"
    | "mx-central-1"
    | "sa-east-1"
    | "us-east-1"
    | "us-east-2"
    | "us-gov-west-1"
    | "us-gov-east-1"
    | "us-iso-east-1"
    | "us-isob-east-1"
    | "us-iso-west-1"
    | "us-isof-south-1"
    | "us-isof-east-1"
    | "us-west-1"
    | "us-west-2")[]

List of AWS Region names to be excluded from configuring SessionManager configuration

lifecycleRules?: ILifecycleRule[]

S3 Lifecycle rule for log storage

sendToCloudWatchLogs: boolean

Indicates whether sending SessionManager logs to CloudWatchLogs enabled.

sendToS3: boolean

Indicates whether sending SessionManager logs to S3 enabled.

When this flag is on, accelerator will send session manager logs to Central log bucket in LogArchive account.