cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
220 lines (219 loc) • 7.33 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement, Operator } 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: Tagging
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* 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 lists tags for an AWS Elemental Appliances and Software resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/elemental-appliances-software
*/
toListTagsForResource(): 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 tag an AWS Elemental Appliances and Software resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
* - .ifAwsRequestTag()
*
* https://docs.aws.amazon.com/elemental-appliances-software
*/
toTagResource(): this;
/**
* Grants permission to remove a tag from an AWS Elemental Appliances and Software resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/elemental-appliances-software
*/
toUntagResource(): 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.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onQuote(resourceId: string, account?: string, region?: string, partition?: string): this;
/**
* Filters access by request tag
*
* https://docs.aws.amazon.com/elemental-appliances-software
*
* Applies to actions:
* - .toCreateQuote()
* - .toTagResource()
*
* @param tagKey The tag key to check
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsRequestTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters access by resource tag
*
* https://docs.aws.amazon.com/elemental-appliances-software
*
* Applies to resource types:
* - quote
*
* @param tagKey The tag key to check
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsResourceTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
/**
* Filters access by tag keys
*
* https://docs.aws.amazon.com/elemental-appliances-software
*
* Applies to actions:
* - .toCreateQuote()
* - .toTagResource()
* - .toUntagResource()
*
* @param value The value(s) to check
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
*/
ifAwsTagKeys(value: string | string[], operator?: Operator | 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);
}