agent-claw: automated task changes
This commit is contained in:
28
cdk/node_modules/aws-cdk-lib/pipelines/lib/private/asset-singleton-role.d.ts
generated
vendored
Normal file
28
cdk/node_modules/aws-cdk-lib/pipelines/lib/private/asset-singleton-role.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import type { PolicyStatement } from '../../../aws-iam';
|
||||
/**
|
||||
* Role which will be reused across asset jobs
|
||||
*
|
||||
* Has some '*' resources to save IAM policy space, and will not
|
||||
* actually add policies that look like policies that were already added.
|
||||
*/
|
||||
export declare class AssetSingletonRole extends iam.Role {
|
||||
/** Uniquely identifies this class. */
|
||||
static readonly PROPERTY_INJECTION_ID: string;
|
||||
private _rejectDuplicates;
|
||||
private _assumeRoleStatement;
|
||||
constructor(scope: Construct, id: string, props: iam.RoleProps);
|
||||
addToPrincipalPolicy(statement: PolicyStatement): iam.AddToPrincipalPolicyResult;
|
||||
/**
|
||||
* Make sure the Role has sts:AssumeRole permissions to the given ARN
|
||||
*
|
||||
* Will add a new PolicyStatement to the Role if necessary, otherwise add resources to the existing
|
||||
* PolicyStatement.
|
||||
*
|
||||
* Normally this would have been many `grantAssume()` calls (which would get deduplicated by the
|
||||
* policy minimization logic), but we have to account for old pipelines that don't have policy
|
||||
* minimization enabled.
|
||||
*/
|
||||
addAssumeRole(roleArn: string): void;
|
||||
}
|
||||
Reference in New Issue
Block a user