Interface AccessEntryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AccessEntryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-23T18:58:18.883Z")
@Stability(Stable)
public interface AccessEntryProps
extends software.amazon.jsii.JsiiSerializable
Represents the properties required to create an Amazon EKS access entry.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.eks_v2.*;
AccessPolicy accessPolicy;
Cluster cluster;
AccessEntryProps accessEntryProps = AccessEntryProps.builder()
.accessPolicies(List.of(accessPolicy))
.cluster(cluster)
.principal("principal")
// the properties below are optional
.accessEntryName("accessEntryName")
.accessEntryType(AccessEntryType.STANDARD)
.removalPolicy(RemovalPolicy.DESTROY)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAccessEntryPropsstatic final classAn implementation forAccessEntryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessEntryProps.Builderbuilder()default StringThe name of the AccessEntry.default AccessEntryTypeThe type of the AccessEntry.The access policies that define the permissions and scope for the access entry.The Amazon EKS cluster to which the access entry applies.The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with.default RemovalPolicyThe removal policy applied to the access entry.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPolicies
The access policies that define the permissions and scope for the access entry. -
getCluster
The Amazon EKS cluster to which the access entry applies. -
getPrincipal
The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with. -
getAccessEntryName
The name of the AccessEntry.Default: - No access entry name is provided
-
getAccessEntryType
The type of the AccessEntry.Default: STANDARD
-
getRemovalPolicy
The removal policy applied to the access entry.The removal policy controls what happens to the resources if they stop being managed by CloudFormation. This can happen in one of three situations:
- The resource is removed from the template, so CloudFormation stops managing it
- A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
- The stack is deleted, so CloudFormation stops managing all resources in it
Default: RemovalPolicy.DESTROY
-
builder
- Returns:
- a
AccessEntryProps.BuilderofAccessEntryProps
-