UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

58 lines (57 loc) 2.41 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [sustainability](https://docs.aws.amazon.com/service-authorization/latest/reference/list_sustainability.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Sustainability extends PolicyStatement { servicePrefix: string; /** * Grants permission to access carbon footprint data from AWS Data Exports * * Access Level: Read * * https://docs.aws.amazon.com/cur/latest/userguide/dataexports-create-standard.html */ toGetCarbonFootprintSummary(): this; /** * Grants permission to view estimated carbon emission values based on customer grouping and filtering parameters * * Access Level: Read * * https://docs.aws.amazon.com/sustainability/latest/APIReference/API_GetEstimatedCarbonEmissions.html */ toGetEstimatedCarbonEmissions(): this; /** * Grants permission to view the possible dimension values available for the estimated carbon emission values * * Access Level: Read * * https://docs.aws.amazon.com/sustainability/latest/APIReference/API_GetEstimatedCarbonEmissionsDimensionValues.html */ toGetEstimatedCarbonEmissionsDimensionValues(): this; /** * Grants permission to view estimated water allocation values based on customer grouping and filtering parameters * * Access Level: Read * * https://docs.aws.amazon.com/sustainability/latest/APIReference/API_GetEstimatedWaterAllocation.html */ toGetEstimatedWaterAllocation(): this; /** * Grants permission to view the possible dimension values available for the estimated water allocation values * * Access Level: Read * * https://docs.aws.amazon.com/sustainability/latest/APIReference/API_GetEstimatedWaterAllocationDimensionValues.html */ toGetEstimatedWaterAllocationDimensionValues(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [sustainability](https://docs.aws.amazon.com/service-authorization/latest/reference/list_sustainability.html). * */ constructor(props?: iam.PolicyStatementProps); }