UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

23 lines (22 loc) 778 B
import { ResourceBase, ResourceTag as Inner_ResourceTag } from "../../resource"; import { Value, List, MapOf } from "../../data-types"; export declare class Policy { PolicyDocument: MapOf<any>; PolicyName: Value<string>; constructor(properties: Policy); } export interface RoleProperties { RoleName?: Value<string>; Path?: Value<string>; MaxSessionDuration?: Value<number>; ManagedPolicyArns?: List<Value<string>>; PermissionsBoundary?: Value<string>; AssumeRolePolicyDocument: MapOf<any>; Policies?: List<Policy>; Tags?: List<Inner_ResourceTag>; Description?: Value<string>; } export default class Inner_Role extends ResourceBase<RoleProperties> { static Policy: typeof Policy; constructor(properties: RoleProperties); }