UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

122 lines (121 loc) 4.71 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [billing](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsbilling.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Billing extends PolicyStatement { servicePrefix: string; /** * Grants permission to perform queries on billing information * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetBillingData(): this; /** * Grants permission to view detailed line item billing information * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetBillingDetails(): this; /** * Grants permission to view notifications sent by AWS related to your accounts billing information * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetBillingNotifications(): this; /** * Grants permission to view billing preferences such as reserved instance, savings plans and credits sharing * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetBillingPreferences(): this; /** * Grants permission to view the account's contract information including the contract number, end-user organization names, PO numbers and if the account is used to service public-sector customers * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetContractInformation(): this; /** * Grants permission to view credits that have been redeemed * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetCredits(): this; /** * Grants permission to retrieve the state of the Allow IAM Access billing preference * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetIAMAccessPreference(): this; /** * Grants permission to retrieve the account's default Seller of Record * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toGetSellerOfRecord(): this; /** * Grants permission to get billing information for your proforma billing groups * * Access Level: Read * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toListBillingViews(): this; /** * Grants permission to set the account's contract information end-user organization names and if the account is used to service public-sector customers * * Access Level: Write * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toPutContractInformation(): this; /** * Grants permission to redeem an AWS credit * * Access Level: Write * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toRedeemCredits(): this; /** * Grants permission to update billing preferences such as reserved instance, savings plans and credits sharing * * Access Level: Write * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toUpdateBillingPreferences(): this; /** * Grants permission to update the Allow IAM Access billing preference * * Access Level: Write * * https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions */ toUpdateIAMAccessPreference(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [billing](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsbilling.html). * */ constructor(props?: iam.PolicyStatementProps); }