Module: AWSCDK::EKS::IAccessPolicy
- Included in:
- AccessPolicy
- Defined in:
- eks/i_access_policy.rb
Overview
Represents an access policy that defines the permissions and scope for a user or role to access an Amazon EKS cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#access_scope ⇒ AWSCDK::EKS::AccessScope
The scope of the access policy, which determines the level of access granted.
-
#policy ⇒ String
The access policy itself, which defines the specific permissions.
Class Method Details
.jsii_overridable_methods ⇒ Object
21 22 23 24 25 26 |
# File 'eks/i_access_policy.rb', line 21 def self.jsii_overridable_methods { :access_scope => { kind: :property, name: "accessScope", is_optional: false }, :policy => { kind: :property, name: "policy", is_optional: false }, } end |
Instance Method Details
#access_scope ⇒ AWSCDK::EKS::AccessScope
The scope of the access policy, which determines the level of access granted.
10 11 12 |
# File 'eks/i_access_policy.rb', line 10 def access_scope() jsii_get_property("accessScope") end |
#policy ⇒ String
The access policy itself, which defines the specific permissions.
17 18 19 |
# File 'eks/i_access_policy.rb', line 17 def policy() jsii_get_property("policy") end |