Interface AccessPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AccessPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:36.194Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAccessPolicyPropsstatic final classAn implementation forAccessPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessPolicyProps.Builderbuilder()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.BuilderofAccessPolicyProps
-