Class: Aws::EKS::Types::AccessPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb

Overview

An access policy includes permissions that allow Amazon EKS to authorize an IAM principal to work with Kubernetes objects on your cluster. The policies are managed by Amazon EKS, but they're not IAM policies. You can't view the permissions in the policies using the API. The permissions for many of the policies are similar to the Kubernetes cluster-admin, admin, edit, and view cluster roles. For more information about these cluster roles, see User-facing roles in the Kubernetes documentation. To view the contents of the policies, see Access policy permissions in the Amazon EKS User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the access policy.

Returns:

  • (String)


159
160
161
162
163
164
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 159

class AccessPolicy < Struct.new(
  :name,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the access policy.

Returns:

  • (String)


159
160
161
162
163
164
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 159

class AccessPolicy < Struct.new(
  :name,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end