Interface AccessPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AccessPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:18.903Z")
@Stability(Stable)
public interface AccessPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for configuring an Amazon EKS Access Policy.
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.*; AccessPolicyArn accessPolicyArn; AccessPolicyProps accessPolicyProps = AccessPolicyProps.builder() .accessScope(AccessScope.builder() .type(AccessScopeType.NAMESPACE) // the properties below are optional .namespaces(List.of("namespaces")) .build()) .policy(accessPolicyArn) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAccessPolicyProps
static final class
An implementation forAccessPolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPolicyProps.Builder
builder()
The scope of the access policy, which determines the level of access granted.The access policy itself, which defines the specific permissions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessScope
The scope of the access policy, which determines the level of access granted. -
getPolicy
The access policy itself, which defines the specific permissions. -
builder
- Returns:
- a
AccessPolicyProps.Builder
ofAccessPolicyProps
-