Class: AWSCDK::AIOps::CfnInvestigationGroup::EncryptionConfigMapProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AIOps::CfnInvestigationGroup::EncryptionConfigMapProperty
- Defined in:
- ai_ops/cfn_investigation_group.rb
Overview
Use this structure if you want to use a customer managed AWS key to encrypt your investigation data.
If you omit this parameter, CloudWatch investigations will use an AWS key to encrypt the data. For more information, see Encryption of investigation data .
Instance Attribute Summary collapse
-
#encryption_configuration_type ⇒ String?
readonly
Displays whether investigation data is encrypted by a customer managed key or an AWS owned key.
-
#kms_key_id ⇒ String?
readonly
If the investigation group uses a customer managed key for encryption, this field displays the ID of that key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_configuration_type: nil, kms_key_id: nil) ⇒ EncryptionConfigMapProperty
constructor
A new instance of EncryptionConfigMapProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_configuration_type: nil, kms_key_id: nil) ⇒ EncryptionConfigMapProperty
Returns a new instance of EncryptionConfigMapProperty.
764 765 766 767 768 769 |
# File 'ai_ops/cfn_investigation_group.rb', line 764 def initialize(encryption_configuration_type: nil, kms_key_id: nil) @encryption_configuration_type = encryption_configuration_type Jsii::Type.check_type(@encryption_configuration_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionConfigurationType") unless @encryption_configuration_type.nil? @kms_key_id = kms_key_id Jsii::Type.check_type(@kms_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyId") unless @kms_key_id.nil? end |
Instance Attribute Details
#encryption_configuration_type ⇒ String? (readonly)
Displays whether investigation data is encrypted by a customer managed key or an AWS owned key.
775 776 777 |
# File 'ai_ops/cfn_investigation_group.rb', line 775 def encryption_configuration_type @encryption_configuration_type end |
#kms_key_id ⇒ String? (readonly)
If the investigation group uses a customer managed key for encryption, this field displays the ID of that key.
780 781 782 |
# File 'ai_ops/cfn_investigation_group.rb', line 780 def kms_key_id @kms_key_id end |
Class Method Details
.jsii_properties ⇒ Object
782 783 784 785 786 787 |
# File 'ai_ops/cfn_investigation_group.rb', line 782 def self.jsii_properties { :encryption_configuration_type => "encryptionConfigurationType", :kms_key_id => "kmsKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
789 790 791 792 793 794 795 796 |
# File 'ai_ops/cfn_investigation_group.rb', line 789 def to_jsii result = {} result.merge!({ "encryptionConfigurationType" => @encryption_configuration_type, "kmsKeyId" => @kms_key_id, }) result.compact end |