raindancers-network
Version:
Extensions to the ec2.Vpc Constructs
21 lines (20 loc) • 686 B
TypeScript
import { aws_ec2 as ec2, aws_iam as iam } from 'aws-cdk-lib';
import * as constructs from 'constructs';
declare type Sources = (ec2.Instance);
export interface MonitorUserProps {
/**
* Allowable list of sources for the Account to be used
*/
readonly sources: Sources;
/**
* The IAM user account to be monitored.
*/
readonly user: iam.User;
}
/**
* Monitor a user account that is using Long Term Credentials to check if it is being used from a location that is not expected
*/
export declare class MonitorUser extends constructs.Construct {
constructor(scope: constructs.Construct, id: string, props: MonitorUserProps);
}
export {};