agent-claw: automated task changes
This commit is contained in:
45
cdk/node_modules/aws-cdk-lib/aws-iam/lib/private/immutable-role.d.ts
generated
vendored
Normal file
45
cdk/node_modules/aws-cdk-lib/aws-iam/lib/private/immutable-role.d.ts
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import { Resource } from '../../../core';
|
||||
import type { Grant } from '../grant';
|
||||
import type { RoleReference } from '../iam.generated';
|
||||
import type { IManagedPolicy } from '../managed-policy';
|
||||
import type { Policy } from '../policy';
|
||||
import type { PolicyStatement } from '../policy-statement';
|
||||
import type { AddToPrincipalPolicyResult, IPrincipal } from '../principals';
|
||||
import type { IRole } from '../role';
|
||||
/**
|
||||
* An immutable wrapper around an IRole
|
||||
*
|
||||
* This wrapper ignores all mutating operations, like attaching policies or
|
||||
* adding policy statements.
|
||||
*
|
||||
* Useful in cases where you want to turn off CDK's automatic permissions
|
||||
* management, and instead have full control over all permissions.
|
||||
*
|
||||
* Note: if you want to ignore all mutations for an externally defined role
|
||||
* which was imported into the CDK with `Role.fromRoleArn`, you don't have to use this class -
|
||||
* simply pass the property mutable = false when calling `Role.fromRoleArn`.
|
||||
*/
|
||||
export declare class ImmutableRole extends Resource implements IRole {
|
||||
private readonly role;
|
||||
private readonly addGrantsToResources;
|
||||
/** Uniquely identifies this class. */
|
||||
static readonly PROPERTY_INJECTION_ID: string;
|
||||
readonly assumeRoleAction: string;
|
||||
readonly policyFragment: any;
|
||||
readonly grantPrincipal: IPrincipal;
|
||||
readonly principalAccount: string | undefined;
|
||||
readonly roleArn: string;
|
||||
readonly roleName: string;
|
||||
private readonly _stack;
|
||||
constructor(scope: Construct, id: string, role: IRole, addGrantsToResources: boolean);
|
||||
get stack(): import("../../../core").Stack;
|
||||
get roleRef(): RoleReference;
|
||||
attachInlinePolicy(_policy: Policy): void;
|
||||
addManagedPolicy(_policy: IManagedPolicy): void;
|
||||
addToPolicy(statement: PolicyStatement): boolean;
|
||||
addToPrincipalPolicy(_statement: PolicyStatement): AddToPrincipalPolicyResult;
|
||||
grant(grantee: IPrincipal, ...actions: string[]): Grant;
|
||||
grantPassRole(grantee: IPrincipal): Grant;
|
||||
grantAssumeRole(identity: IPrincipal): Grant;
|
||||
}
|
||||
Reference in New Issue
Block a user