Class AwsAuth
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.eks.legacy.AwsAuth
- All Implemented Interfaces:
IConstruct
,IDependable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.685Z")
@Stability(Deprecated)
@Deprecated
public class AwsAuth
extends Construct
Deprecated.
(deprecated) Manages mapping between IAM users and roles to Kubernetes RBAC configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.eks.legacy.*; Cluster cluster; AwsAuth awsAuth = AwsAuth.Builder.create(this, "MyAwsAuth") .cluster(cluster) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAccount
(String accountId) Deprecated.void
addMastersRole
(IRole role) Deprecated.void
addMastersRole
(IRole role, String username) Deprecated.void
addRoleMapping
(IRole role, Mapping mapping) Deprecated.void
addUserMapping
(IUser user, Mapping mapping) Deprecated.Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AwsAuth
protected AwsAuth(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
AwsAuth
protected AwsAuth(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
AwsAuth
@Stability(Deprecated) @Deprecated public AwsAuth(@NotNull Construct scope, @NotNull String id, @NotNull AwsAuthProps props) Deprecated.- Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
addAccount
Deprecated.(deprecated) Additional AWS account to add to the aws-auth configmap.- Parameters:
accountId
- account number. This parameter is required.
-
addMastersRole
@Stability(Deprecated) @Deprecated public void addMastersRole(@NotNull IRole role, @Nullable String username) Deprecated.(deprecated) Adds the specified IAM role to thesystem:masters
RBAC group, which means that anyone that can assume it will be able to administer this Kubernetes system.- Parameters:
role
- The IAM role to add. This parameter is required.username
- Optional user (defaults to the role ARN).
-
addMastersRole
Deprecated.(deprecated) Adds the specified IAM role to thesystem:masters
RBAC group, which means that anyone that can assume it will be able to administer this Kubernetes system.- Parameters:
role
- The IAM role to add. This parameter is required.
-
addRoleMapping
@Stability(Deprecated) @Deprecated public void addRoleMapping(@NotNull IRole role, @NotNull Mapping mapping) Deprecated.(deprecated) Adds a mapping between an IAM role to a Kubernetes user and groups.- Parameters:
role
- The IAM role to map. This parameter is required.mapping
- Mapping to k8s user name and groups. This parameter is required.
-
addUserMapping
@Stability(Deprecated) @Deprecated public void addUserMapping(@NotNull IUser user, @NotNull Mapping mapping) Deprecated.(deprecated) Adds a mapping between an IAM user to a Kubernetes user and groups.- Parameters:
user
- The IAM user to map. This parameter is required.mapping
- Mapping to k8s user name and groups. This parameter is required.
-