Interface AccessEntryProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AccessEntryProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:01.370Z") @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.services.eks.*;
 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)
         .build();
 
  • Method Details

    • getAccessPolicies

      @Stability(Stable) @NotNull List<IAccessPolicy> getAccessPolicies()
      The access policies that define the permissions and scope for the access entry.
    • getCluster

      @Stability(Stable) @NotNull ICluster getCluster()
      The Amazon EKS cluster to which the access entry applies.
    • getPrincipal

      @Stability(Stable) @NotNull String getPrincipal()
      The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with.
    • getAccessEntryName

      @Stability(Stable) @Nullable default String getAccessEntryName()
      The name of the AccessEntry.

      Default: - No access entry name is provided

    • getAccessEntryType

      @Stability(Stable) @Nullable default AccessEntryType getAccessEntryType()
      The type of the AccessEntry.

      Default: STANDARD

    • builder

      @Stability(Stable) static AccessEntryProps.Builder builder()
      Returns:
      a AccessEntryProps.Builder of AccessEntryProps