UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

66 lines (65 loc) 2.72 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [application-cost-profiler](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsapplicationcostprofilerservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class ApplicationCostProfiler extends PolicyStatement { servicePrefix: string; /** * Grants permission to delete the configuration with specific Application Cost Profiler Report thereby effectively disabling report generation * * Access Level: Write * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_DeleteReportDefinition.html */ toDeleteReportDefinition(): this; /** * Grants permission to fetch the configuration with specific Application Cost Profiler Report request * * Access Level: Read * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_GetReportDefinition.html */ toGetReportDefinition(): this; /** * Grants permission to import the application usage from S3 * * Access Level: Write * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_ImportApplicationUsage.html */ toImportApplicationUsage(): this; /** * Grants permission to get a list of the different Application Cost Profiler Report configurations they have created * * Access Level: Read * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_ListReportDefinitions.html */ toListReportDefinitions(): this; /** * Grants permission to create Application Cost Profiler Report configurations * * Access Level: Write * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_PutReportDefinition.html */ toPutReportDefinition(): this; /** * Grants permission to update an existing Application Cost Profiler Report configuration * * Access Level: Write * * https://docs.aws.amazon.com/application-cost-profiler/latest/APIReference/API_UpdateReportDefinition.html */ toUpdateReportDefinition(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [application-cost-profiler](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsapplicationcostprofilerservice.html). * */ constructor(props?: iam.PolicyStatementProps); }