UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

66 lines (65 loc) 2.52 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [importexport](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsimportexportdiskservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Importexport extends PolicyStatement { servicePrefix: string; /** * This action cancels a specified job. Only the job owner can cancel it. The action fails if the job has already started or is complete. * * Access Level: Write * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebCancelJob.html */ toCancelJob(): this; /** * This action initiates the process of scheduling an upload or download of your data. * * Access Level: Write * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebCreateJob.html */ toCreateJob(): this; /** * This action generates a pre-paid shipping label that you will use to ship your device to AWS for processing. * * Access Level: Read * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebGetShippingLabel.html */ toGetShippingLabel(): this; /** * This action returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. * * Access Level: Read * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebGetStatus.html */ toGetStatus(): this; /** * This action returns the jobs associated with the requester. * * Access Level: List * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebListJobs.html */ toListJobs(): this; /** * You use this action to change the parameters specified in the original manifest file by supplying a new manifest file. * * Access Level: Write * * https://docs.aws.amazon.com/AWSImportExport/latest/DG/WebUpdateJob.html */ toUpdateJob(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [importexport](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsimportexportdiskservice.html). * */ constructor(props?: iam.PolicyStatementProps); }