UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

141 lines (140 loc) 4.54 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [elemental-appliances-software](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalappliancesandsoftware.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class ElementalAppliancesSoftware extends PolicyStatement { servicePrefix: string; /** * Grants permission to complete an upload of an attachment for a quote or order * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toCompleteUpload(): this; /** * Grants permission to create an order * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toCreateOrderV1(): this; /** * Grants permission to create a quote * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toCreateQuote(): this; /** * Grants permission to validate an address * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetAvsCorrectAddress(): this; /** * Grants permission to list the billing addresses in the AWS Account * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetBillingAddresses(): this; /** * Grants permission to list the delivery addresses in the AWS Account * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetDeliveryAddressesV2(): this; /** * Grants permission to describe an order * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetOrder(): this; /** * Grants permission to list the orders in the AWS Account * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetOrdersV2(): this; /** * Grants permission to describe a quote * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetQuote(): this; /** * Grants permission to calculate taxes for an order * * Access Level: Read * * https://docs.aws.amazon.com/elemental-appliances-software */ toGetTaxes(): this; /** * Grants permission to list the quotes in the AWS Account * * Access Level: List * * https://docs.aws.amazon.com/elemental-appliances-software */ toListQuotes(): this; /** * Grants permission to start an upload of an attachment for a quote or order * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toStartUpload(): this; /** * Grants permission to submit an order * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toSubmitOrderV1(): this; /** * Grants permission to modify a quote * * Access Level: Write * * https://docs.aws.amazon.com/elemental-appliances-software */ toUpdateQuote(): this; protected accessLevelList: AccessLevelList; /** * Adds a resource of type quote to the statement * * https://docs.aws.amazon.com/elemental-appliances-software * * @param resourceId - Identifier for the resourceId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @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. */ onQuote(resourceId: string, account?: string, region?: string, partition?: string): this; /** * Statement provider for service [elemental-appliances-software](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalappliancesandsoftware.html). * */ constructor(props?: iam.PolicyStatementProps); }