UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

38 lines (37 loc) 1.92 kB
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-seller-reporting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacesellerreporting.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class AwsMarketplaceSellerReporting extends PolicyStatement { servicePrefix: string; /** * Grants permission to view a seller dashboard * * Access Level: Read * * https://docs.aws.amazon.com/marketplace/latest/userguide/dashboards.html#reports-accessing */ toGetSellerDashboard(): this; protected accessLevelList: AccessLevelList; /** * Adds a resource of type SellerDashboard to the statement * * https://docs.aws.amazon.com/marketplace/latest/userguide/dashboards.html#reports-accessing * * @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. */ onSellerDashboard(catalog: string, factTable: string, dashboardName: string, account?: string, partition?: string): this; /** * Statement provider for service [aws-marketplace-seller-reporting](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacesellerreporting.html). * */ constructor(props?: iam.PolicyStatementProps); }