UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

66 lines (65 loc) 2.27 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [autoscaling-plans](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsautoscaling.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class AutoscalingPlans extends PolicyStatement { servicePrefix: string; /** * Creates a scaling plan. * * Access Level: Write * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CreateScalingPlan.html */ toCreateScalingPlan(): this; /** * Deletes the specified scaling plan. * * Access Level: Write * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_DeleteScalingPlan.html */ toDeleteScalingPlan(): this; /** * Describes the scalable resources in the specified scaling plan. * * Access Level: Read * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_DescribeScalingPlanResources.html */ toDescribeScalingPlanResources(): this; /** * Describes the specified scaling plans or all of your scaling plans. * * Access Level: Read * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_DescribeScalingPlans.html */ toDescribeScalingPlans(): this; /** * Retrieves the forecast data for a scalable resource. * * Access Level: Read * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_GetScalingPlanResourceForecastData.html */ toGetScalingPlanResourceForecastData(): this; /** * Updates a scaling plan. * * Access Level: Write * * https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_UpdateScalingPlan.html */ toUpdateScalingPlan(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [autoscaling-plans](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsautoscaling.html). * */ constructor(props?: iam.PolicyStatementProps); }