Interface CfnEncryptionConfiguration.ConfigurationDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEncryptionConfiguration.ConfigurationDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnEncryptionConfiguration
@Stability(Stable)
public static interface CfnEncryptionConfiguration.ConfigurationDetailsProperty
extends software.amazon.jsii.JsiiSerializable
The encryption configuration details that include the status information of the AWS Key Management Service ( AWS KMS ) key and the AWS KMS access role.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iot.*; ConfigurationDetailsProperty configurationDetailsProperty = ConfigurationDetailsProperty.builder() .configurationStatus("configurationStatus") .errorCode("errorCode") .errorMessage("errorMessage") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEncryptionConfiguration.ConfigurationDetailsProperty
static final class
An implementation forCfnEncryptionConfiguration.ConfigurationDetailsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationStatus
The health status of KMS key and AWS KMS access role.If either KMS key or AWS KMS access role is
UNHEALTHY
, the return value will beUNHEALTHY
. To use a customer managed KMS key, the value ofconfigurationStatus
must beHEALTHY
.- See Also:
-
getErrorCode
The error code that indicates either the KMS key or the AWS KMS access role isUNHEALTHY
.Valid values:
KMS_KEY_VALIDATION_ERROR
andROLE_VALIDATION_ERROR
.- See Also:
-
getErrorMessage
The detailed error message that corresponds to theerrorCode
.- See Also:
-
builder
-