iam-floyd
Version:
AWS IAM policy statement generator with fluent interface
29 lines (28 loc) • 645 B
TypeScript
import { PolicyStatementWithResources } from './4-resources';
/**
* Policy effects
*/
export declare enum Effect {
allow = "Allow",
deny = "Deny"
}
/**
* Adds "effect" functionality to the Policy Statement
*/
export declare class PolicyStatementWithEffect extends PolicyStatementWithResources {
effect: Effect;
/**
* Injects effect into the statement.
*
* Only relevant for the main package. In CDK mode this only calls super.
*/
toJSON(): any;
/**
* Allow the actions in this statement
*/
allow(): this;
/**
* Deny the actions in this statement
*/
deny(): this;
}