Class: Aws::GroundStation::Types::KmsKey

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-groundstation/types.rb

Overview

Note:

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

Note:

KmsKey is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of KmsKey corresponding to the set member.

AWS Key Management Service (KMS) Key.

Direct Known Subclasses

KmsAliasArn, KmsAliasName, KmsKeyArn, Unknown

Defined Under Namespace

Classes: KmsAliasArn, KmsAliasName, KmsKeyArn, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_alias_arnString

KMS Alias Arn.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
# File 'lib/aws-sdk-groundstation/types.rb', line 1884

class KmsKey < Struct.new(
  :kms_alias_arn,
  :kms_alias_name,
  :kms_key_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KmsAliasArn < KmsKey; end
  class KmsAliasName < KmsKey; end
  class KmsKeyArn < KmsKey; end
  class Unknown < KmsKey; end
end

#kms_alias_nameString

KMS Alias Name.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
# File 'lib/aws-sdk-groundstation/types.rb', line 1884

class KmsKey < Struct.new(
  :kms_alias_arn,
  :kms_alias_name,
  :kms_key_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KmsAliasArn < KmsKey; end
  class KmsAliasName < KmsKey; end
  class KmsKeyArn < KmsKey; end
  class Unknown < KmsKey; end
end

#kms_key_arnString

KMS Key Arn.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
# File 'lib/aws-sdk-groundstation/types.rb', line 1884

class KmsKey < Struct.new(
  :kms_alias_arn,
  :kms_alias_name,
  :kms_key_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KmsAliasArn < KmsKey; end
  class KmsAliasName < KmsKey; end
  class KmsKeyArn < KmsKey; end
  class Unknown < KmsKey; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1884
1885
1886
# File 'lib/aws-sdk-groundstation/types.rb', line 1884

def unknown
  @unknown
end