Class: Aws::EKS::Types::AssociateAccessPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_scope ⇒ Types::AccessScope

The scope for the AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.

Returns:



846
847
848
849
850
851
852
853
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 846

class AssociateAccessPolicyRequest < Struct.new(
  :cluster_name,
  :principal_arn,
  :policy_arn,
  :access_scope)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_name ⇒ String

The name of your cluster.

Returns:

  • (String)


846
847
848
849
850
851
852
853
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 846

class AssociateAccessPolicyRequest < Struct.new(
  :cluster_name,
  :principal_arn,
  :policy_arn,
  :access_scope)
  SENSITIVE = []
  include Aws::Structure
end

#policy_arn ⇒ String

The ARN of the AccessPolicy that you're associating. For a list of ARNs, use ListAccessPolicies.

Returns:

  • (String)


846
847
848
849
850
851
852
853
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 846

class AssociateAccessPolicyRequest < Struct.new(
  :cluster_name,
  :principal_arn,
  :policy_arn,
  :access_scope)
  SENSITIVE = []
  include Aws::Structure
end

#principal_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM user or role for the AccessEntry that you're associating the access policy to.

Returns:

  • (String)


846
847
848
849
850
851
852
853
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 846

class AssociateAccessPolicyRequest < Struct.new(
  :cluster_name,
  :principal_arn,
  :policy_arn,
  :access_scope)
  SENSITIVE = []
  include Aws::Structure
end