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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



473
474
475
476
477
478
479
480
# File 'lib/aws-sdk-eks/types.rb', line 473

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)


473
474
475
476
477
478
479
480
# File 'lib/aws-sdk-eks/types.rb', line 473

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)


473
474
475
476
477
478
479
480
# File 'lib/aws-sdk-eks/types.rb', line 473

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)


473
474
475
476
477
478
479
480
# File 'lib/aws-sdk-eks/types.rb', line 473

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