UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

122 lines (121 loc) 4.19 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [supportplans](https://docs.aws.amazon.com/service-authorization/latest/reference/list_supportplans.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Supportplans extends PolicyStatement { servicePrefix: string; /** * Grants permission to accept a support agreement for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toAcceptSupportAgreement(): this; /** * Grants permission to cancel a support agreement for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toCancelSupportAgreement(): this; /** * Grants permission to create a support agreement for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toCreateSupportAgreement(): this; /** * Grants permission to create support plan schedules for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toCreateSupportPlanSchedule(): this; /** * Grants permission to view details about a support agreement for this AWS account * * Access Level: Read * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toGetSupportAgreement(): this; /** * Grants permission to view details about the current support plan for this AWS account * * Access Level: Read * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toGetSupportPlan(): this; /** * Grants permission to view details about the status for a request to update a support plan * * Access Level: Read * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toGetSupportPlanUpdateStatus(): this; /** * Grants permission to list support agreement revisions for this AWS account * * Access Level: List * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toListSupportAgreementRevisions(): this; /** * Grants permission to list support agreements for this AWS account * * Access Level: List * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toListSupportAgreements(): this; /** * Grants permission to view a list of all support plan modifiers for this account * * Access Level: List * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toListSupportPlanModifiers(): this; /** * Grants permission to reject a support agreement for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toRejectSupportAgreement(): this; /** * Grants permission to update the support plan for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toStartSupportPlanUpdate(): this; /** * Grants permission to update a support agreement for this AWS account * * Access Level: Write * * https://docs.aws.amazon.com/awssupport/latest/user/security-support-plans.html */ toUpdateSupportAgreement(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [supportplans](https://docs.aws.amazon.com/service-authorization/latest/reference/list_supportplans.html). * */ constructor(props?: iam.PolicyStatementProps); }