Class: Aws::SecurityHub::Types::AwsKmsKeyDetails

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

Overview

Note:

When making an API call, you may pass AwsKmsKeyDetails data as a hash:

{
  aws_account_id: "NonEmptyString",
  creation_date: 1.0,
  key_id: "NonEmptyString",
  key_manager: "NonEmptyString",
  key_state: "NonEmptyString",
  origin: "NonEmptyString",
}

Contains metadata about a customer master key (CMK).

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The twelve-digit account ID of the AWS account that owns the CMK.

Returns:

  • (String)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end

#creation_dateFloat

The date and time when the CMK was created.

Returns:

  • (Float)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end

#key_idString

The globally unique identifier for the CMK.

Returns:

  • (String)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end

#key_managerString

The manager of the CMK. CMKs in your AWS account are either customer managed or AWS managed.

Returns:

  • (String)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end

#key_stateString

The state of the CMK.

Returns:

  • (String)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end

#originString

The source of the CMK's key material.

When this value is AWS_KMS, AWS KMS created the key material.

When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the CMK lacks key material.

When this value is AWS_CLOUDHSM, the key material was created in the AWS CloudHSM cluster associated with a custom key store.

Returns:

  • (String)


1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1616

class AwsKmsKeyDetails < Struct.new(
  :aws_account_id,
  :creation_date,
  :key_id,
  :key_manager,
  :key_state,
  :origin)
  include Aws::Structure
end