cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
42 lines (41 loc) • 1.58 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 [freetier](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsfreetier.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Freetier extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to get free tier alert preference (email address)
*
* Access Level: Read
*
* https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/tracking-free-tier-usage.html
*/
toGetFreeTierAlertPreference(): this;
/**
* Grants permission to get free tier usage limits and MTD usage status
*
* Access Level: Read
*
* https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/tracking-free-tier-usage.html
*/
toGetFreeTierUsage(): this;
/**
* Grants permission to set free tier alert preference (email address)
*
* Access Level: Write
*
* https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/tracking-free-tier-usage.html
*/
toPutFreeTierAlertPreference(): this;
protected accessLevelList: AccessLevelList;
/**
* Statement provider for service [freetier](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsfreetier.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}