@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
42 lines (41 loc) • 1.06 kB
TypeScript
export interface Credentials {
accessKeyId: string;
sessionToken?: string;
secretAccessKey: string;
}
export interface AwsTag {
Key: string;
Value: string;
}
export interface TagMap {
[property: string]: string;
}
export interface RawAwsService {
cgId: string;
accountId: string;
}
export interface RawAwsIamJsonPolicyStatementCondition {
[key: string]: {
[key: string]: string | number | string[] | number[];
};
}
export interface RawAwsIamJsonPolicyStatementPrincipal {
[key: string]: string[];
}
export interface RawAwsIamJsonPolicyStatement {
Sid?: string;
Condition?: RawAwsIamJsonPolicyStatementCondition;
Effect: string;
Principal?: RawAwsIamJsonPolicyStatementPrincipal;
NotPrincipal?: RawAwsIamJsonPolicyStatementPrincipal;
Action?: string[];
NotAction?: string[];
Resource?: string[];
NotResource?: string[];
}
export interface RawAwsIamJsonPolicy {
Version: string;
Id?: string;
Statement: RawAwsIamJsonPolicyStatement[];
}
export * from './generated';