Skip to content
v2.278.0

EncryptionConfigMapProperty Struct ​

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 .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aiops as aiops } from 'aws-cdk-lib';
const encryptionConfigMapProperty: aiops.CfnInvestigationGroup.EncryptionConfigMapProperty = {
  encryptionConfigurationType: 'encryptionConfigurationType',
  kmsKeyId: 'kmsKeyId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aiops as aiops

encryption_config_map_property = aiops.CfnInvestigationGroup.EncryptionConfigMapProperty(
    encryption_configuration_type="encryptionConfigurationType",
    kms_key_id="kmsKeyId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aiops.*;

EncryptionConfigMapProperty encryptionConfigMapProperty = EncryptionConfigMapProperty.builder()
        .encryptionConfigurationType("encryptionConfigurationType")
        .kmsKeyId("kmsKeyId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AIOps;

var encryptionConfigMapProperty = new EncryptionConfigMapProperty {
    EncryptionConfigurationType = "encryptionConfigurationType",
    KmsKeyId = "kmsKeyId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

encryptionConfigMapProperty := &EncryptionConfigMapProperty{
	EncryptionConfigurationType: jsii.String("encryptionConfigurationType"),
	KmsKeyId: jsii.String("kmsKeyId"),
}

Properties ​

encryptionConfigurationTypeoptionalstringencryption_configuration_typeoptionalstrencryptionConfigurationTypeoptionalStringEncryptionConfigurationTypeoptionalstringEncryptionConfigurationTypeoptional*string #
Displays whether investigation data is encrypted by a customer managed key or an AWS owned key.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
If the investigation group uses a customer managed key for encryption, this field displays the ID of that key.