cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
58 lines (57 loc) • 2.08 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 [tiros](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awstiros.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Tiros extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to create a VPC reachability query
*
* Access Level: Write
*
* https://docs.aws.amazon.com/vpc/latest/reachability/security_iam_required-API-permissions.html
*/
toCreateQuery(): this;
/**
* Grants permission to extend a VPC reachability query to include the calling principals account
*
* Access Level: Write
*
* https://docs.aws.amazon.com/vpc/latest/reachability/security_iam_required-API-permissions.html
*/
toExtendQuery(): this;
/**
* Grants permission to get VPC reachability query answers
*
* Access Level: Read
*
* https://docs.aws.amazon.com/vpc/latest/reachability/security_iam_required-API-permissions.html
*/
toGetQueryAnswer(): this;
/**
* Grants permission to get VPC reachability query explanations
*
* Access Level: Read
*
* https://docs.aws.amazon.com/vpc/latest/reachability/security_iam_required-API-permissions.html
*/
toGetQueryExplanation(): this;
/**
* Grants permission to list accounts that might be useful in a new query
*
* Access Level: Read
*
* https://docs.aws.amazon.com/vpc/latest/reachability/security_iam_required-API-permissions.html
*/
toGetQueryExtensionAccounts(): this;
protected accessLevelList: AccessLevelList;
/**
* Statement provider for service [tiros](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awstiros.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}