cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
234 lines (233 loc) • 8.45 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 [snowball](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssnowball.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class Snowball extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to cancel a cluster job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CancelCluster.html
*/
toCancelCluster(): this;
/**
* Grants permission to cancel the specified job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CancelJob.html
*/
toCancelJob(): this;
/**
* Grants permission to create an address for a Snowball to be shipped to
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CreateAddress.html
*/
toCreateAddress(): this;
/**
* Grants permission to create an empty cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CreateCluster.html
*/
toCreateCluster(): this;
/**
* Grants permission to creates a job to import or export data between Amazon S3 and your on-premises data center
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CreateJob.html
*/
toCreateJob(): this;
/**
* Grants permission to creates a LongTermPricingListEntry for allowing customers to add an upfront billing contract for a job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CreateLongTermPricing.html
*/
toCreateLongTermPricing(): this;
/**
* Grants permission to create a shipping label that will be used to return the Snow device to AWS
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_CreateReturnShippingLabel.html
*/
toCreateReturnShippingLabel(): this;
/**
* Grants permission to get specific details about that address in the form of an Address object
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_DescribeAddress.html
*/
toDescribeAddress(): this;
/**
* Grants permission to describe a specified number of ADDRESS objects
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_DescribeAddresses.html
*/
toDescribeAddresses(): this;
/**
* Grants permission to describe information about a specific cluster including shipping information, cluster status, and other important metadata
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_DescribeCluster.html
*/
toDescribeCluster(): this;
/**
* Grants permission to describe information about a specific job including shipping information, job status, and other important metadata
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_DescribeJob.html
*/
toDescribeJob(): this;
/**
* Grants permission to describe information on the shipping label of a Snow device that is being returned to AWS
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_DescribeReturnShippingLabel.html
*/
toDescribeReturnShippingLabel(): this;
/**
* Grants permission to get a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_GetJobManifest.html
*/
toGetJobManifest(): this;
/**
* Grants permission to get the UnlockCode code value for the specified job
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_GetJobUnlockCode.html
*/
toGetJobUnlockCode(): this;
/**
* Grants permission to get information about the Snowball service limit for your account, and also the number of Snowballs your account has in use
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_GetSnowballUsage.html
*/
toGetSnowballUsage(): this;
/**
* Grants permission to return an Amazon S3 presigned URL for an update file associated with a specified JobId
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_GetSoftwareUpdates.html
*/
toGetSoftwareUpdates(): this;
/**
* Grants permission to list JobListEntry objects of the specified length
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListClusterJobs.html
*/
toListClusterJobs(): this;
/**
* Grants permission to list ClusterListEntry objects of the specified length
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListClusters.html
*/
toListClusters(): this;
/**
* Grants permission to return a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your AWS account that would be supported for use on a Snow device
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListCompatibleImages.html
*/
toListCompatibleImages(): this;
/**
* Grants permission to list JobListEntry objects of the specified length
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListJobs.html
*/
toListJobs(): this;
/**
* Grants permission to list LongTermPricingListEntry objects for the account making the request
*
* Access Level: Read
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListLongTermPricing.html
*/
toListLongTermPricing(): this;
/**
* Grants permission to list Address objects where pickup is available, of the specified length
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListPickupLocations.html
*/
toListPickupLocations(): this;
/**
* Grants permission to list all supported versions for Snow on-device services
*
* Access Level: List
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_ListServiceVersions.html
*/
toListServiceVersions(): this;
/**
* Grants permission to update while a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_UpdateCluster.html
*/
toUpdateCluster(): this;
/**
* Grants permission to update while a job's JobState value is New, you can update some of the information associated with a job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_UpdateJob.html
*/
toUpdateJob(): this;
/**
* Grants permission to update the state when a the shipment states changes to a different state
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_UpdateJobShipmentState.html
*/
toUpdateJobShipmentState(): this;
/**
* Grants permission to update a specific upfront billing contract for a job
*
* Access Level: Write
*
* https://docs.aws.amazon.com/snowball/latest/api-reference/API_UpdateLongTermPricing.html
*/
toUpdateLongTermPricing(): this;
protected accessLevelList: AccessLevelList;
/**
* Statement provider for service [snowball](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssnowball.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}