cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
38 lines (37 loc) • 2.01 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 [aws-marketplace-reporting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacereporting.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class AwsMarketplaceReporting extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to view a dashboard that shows a buyer's AWS Marketplace purchase data
*
* Access Level: Read
*
* https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html
*/
toGetBuyerDashboard(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type Dashboard to the statement
*
* https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-reporting_GetBuyerDashboard.html#API_marketplace-reporting_GetBuyerDashboard_RequestBody
*
* @param catalog - Identifier for the catalog.
* @param factTable - Identifier for the factTable.
* @param dashboardName - Identifier for the dashboardName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onDashboard(catalog: string, factTable: string, dashboardName: string, account?: string, partition?: string): this;
/**
* Statement provider for service [aws-marketplace-reporting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacereporting.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}