cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
58 lines (57 loc) • 2.04 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement } from '../../shared';
import { aws_iam as iam } from "aws-cdk-lib";
/**
* Statement provider for service [inspector2-telemetry](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoninspector2telemetrychannel.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Inspector2Telemetry extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to notify heartbeat for an active telemetry session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/inspector/v2/APIReference/API_NotifyHeartbeat.html
*/
toNotifyHeartbeat(): this;
/**
* Grants permission to send telemetry for an active telemetry session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/inspector/v2/APIReference/API_SendTelemetry.html
*/
toSendTelemetry(): this;
/**
* Grants permission to send telemetry event for a telemetry session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/inspector/v2/APIReference/API_SendTelemetryEvent.html
*/
toSendTelemetryEvent(): this;
/**
* Grants permission to start a telemetry session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/inspector/v2/APIReference/API_StartSession.html
*/
toStartSession(): this;
/**
* Grants permission to stop a telemetry session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/inspector/v2/APIReference/API_StopSession.html
*/
toStopSession(): this;
protected accessLevelList: AccessLevelList;
/**
* Statement provider for service [inspector2-telemetry](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoninspector2telemetrychannel.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}