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_scopeTypes::AccessScope

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

Returns:



405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 405

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

#cluster_nameString

The name of your cluster.

Returns:

  • (String)


405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 405

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

#policy_arnString

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

Returns:

  • (String)


405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 405

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

#principal_arnString

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

Returns:

  • (String)


405
406
407
408
409
410
411
412
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 405

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