Class: Aws::Continuum::Types::KubernetesClusterRoleUpdate

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

Overview

Note:

KubernetesClusterRoleUpdate is a union - when making an API calls you must set exactly one of the members.

One complete mutation of the Collector's Kubernetes IAM role configuration.

Defined Under Namespace

Classes: Remove, Set, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#remove ⇒ Types::RemoveKubernetesClusterRole

Remove the configured role and external ID.

Returns:

  • (Types::RemoveKubernetesClusterRole)


2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2847

class KubernetesClusterRoleUpdate < Struct.new(
  :set,
  :remove,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Set < KubernetesClusterRoleUpdate; end
  class Remove < KubernetesClusterRoleUpdate; end
  class Unknown < KubernetesClusterRoleUpdate; end
end

#set ⇒ Types::KubernetesClusterRoleConfiguration

Replace the complete role configuration.



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2847

class KubernetesClusterRoleUpdate < Struct.new(
  :set,
  :remove,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Set < KubernetesClusterRoleUpdate; end
  class Remove < KubernetesClusterRoleUpdate; end
  class Unknown < KubernetesClusterRoleUpdate; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2847
2848
2849
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 2847

def unknown
  @unknown
end