agent-claw: automated task changes
This commit is contained in:
58
cdk/node_modules/aws-cdk-lib/aws-eks/lib/aws-auth.d.ts
generated
vendored
Normal file
58
cdk/node_modules/aws-cdk-lib/aws-eks/lib/aws-auth.d.ts
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
import { Construct } from 'constructs';
|
||||
import type { AwsAuthMapping } from './aws-auth-mapping';
|
||||
import type { Cluster } from './cluster';
|
||||
import type * as iam from '../../aws-iam';
|
||||
/**
|
||||
* Configuration props for the AwsAuth construct.
|
||||
*/
|
||||
export interface AwsAuthProps {
|
||||
/**
|
||||
* The EKS cluster to apply this configuration to.
|
||||
*
|
||||
* [disable-awslint:ref-via-interface]
|
||||
*/
|
||||
readonly cluster: Cluster;
|
||||
}
|
||||
/**
|
||||
* Manages mapping between IAM users and roles to Kubernetes RBAC configuration.
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/en_us/eks/latest/userguide/add-user-role.html
|
||||
*/
|
||||
export declare class AwsAuth extends Construct {
|
||||
private readonly stack;
|
||||
private readonly roleMappings;
|
||||
private readonly userMappings;
|
||||
private readonly accounts;
|
||||
constructor(scope: Construct, id: string, props: AwsAuthProps);
|
||||
/**
|
||||
* Adds the specified IAM role to the `system:masters` RBAC group, which means
|
||||
* that anyone that can assume it will be able to administer this Kubernetes system.
|
||||
*
|
||||
* @param role The IAM role to add
|
||||
* @param username Optional user (defaults to the role ARN)
|
||||
*/
|
||||
addMastersRole(role: iam.IRole, username?: string): void;
|
||||
/**
|
||||
* Adds a mapping between an IAM role to a Kubernetes user and groups.
|
||||
*
|
||||
* @param role The IAM role to map
|
||||
* @param mapping Mapping to k8s user name and groups
|
||||
*/
|
||||
addRoleMapping(role: iam.IRole, mapping: AwsAuthMapping): void;
|
||||
/**
|
||||
* Adds a mapping between an IAM user to a Kubernetes user and groups.
|
||||
*
|
||||
* @param user The IAM user to map
|
||||
* @param mapping Mapping to k8s user name and groups
|
||||
*/
|
||||
addUserMapping(user: iam.IUser, mapping: AwsAuthMapping): void;
|
||||
/**
|
||||
* Additional AWS account to add to the aws-auth configmap.
|
||||
* @param accountId account number
|
||||
*/
|
||||
addAccount(accountId: string): void;
|
||||
private assertSameStack;
|
||||
private synthesizeMapRoles;
|
||||
private synthesizeMapUsers;
|
||||
private synthesizeMapAccounts;
|
||||
}
|
||||
Reference in New Issue
Block a user