UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

85 lines (84 loc) 3.35 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; /** * Statement provider for service [transform](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awstransform.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Transform extends PolicyStatement { servicePrefix: string; /** * Statement provider for service [transform](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awstransform.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid?: string); /** * Grants permission to invoke AssociateConnectorResource on AWS Transform * * Access Level: Write * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toAssociateConnectorResource(): this; /** * Grants permission to invoke CreateProfile on AWS Transform * * Access Level: Write * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toCreateProfile(): this; /** * Grants permission to invoke DeleteProfile on AWS Transform * * Access Level: Write * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toDeleteProfile(): this; /** * Grants permission to invoke GetConnector on AWS Transform * * Access Level: Read * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toGetConnector(): this; /** * Grants permission to invoke ListProfiles on AWS Transform * * Access Level: List * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toListProfiles(): this; /** * Grants permission to invoke RejectConnector on AWS Transform * * Access Level: Write * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toRejectConnector(): this; /** * Grants permission to invoke UpdateProfile on AWS Transform * * Access Level: Write * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html */ toUpdateProfile(): this; protected accessLevelList: AccessLevelList; /** * Adds a resource of type profile to the statement * * https://docs.aws.amazon.com/transform/latest/userguide/security_iam_permissions.html * * @param identifier - Identifier for the identifier. * @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. */ onProfile(identifier: string, account?: string, region?: string, partition?: string): this; }