cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
50 lines (49 loc) • 2.13 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-metering-service](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacemeteringservice.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class AwsMarketplaceMeteringService extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to post metering records for a set of customers for SaaS applications
*
* Access Level: Write
*
* https://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_BatchMeterUsage.html
*/
toBatchMeterUsage(): this;
/**
* Grants permission to emit metering records
*
* Access Level: Write
*
* https://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_MeterUsage.html
*/
toMeterUsage(): this;
/**
* Grants permission to to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Meters software use per ECS task, per hour, with usage prorated to the second
*
* Access Level: Write
*
* https://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_RegisterUsage.html
*/
toRegisterUsage(): this;
/**
* Grants permission to resolve a registration token to obtain a CustomerIdentifier and product code
*
* Access Level: Write
*
* https://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_ResolveCustomer.html
*/
toResolveCustomer(): this;
protected accessLevelList: AccessLevelList;
/**
* Statement provider for service [aws-marketplace-metering-service](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacemeteringservice.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}