ConfigurationDetailsProperty Struct
The encryption configuration details that include the status information of the AWS Key Management Service ( AWS ) key and the AWS access role.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const configurationDetailsProperty: iot.CfnEncryptionConfiguration.ConfigurationDetailsProperty = {
configurationStatus: 'configurationStatus',
errorCode: 'errorCode',
errorMessage: 'errorMessage',
};
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_iot as iot
configuration_details_property = iot.CfnEncryptionConfiguration.ConfigurationDetailsProperty(
configuration_status="configurationStatus",
error_code="errorCode",
error_message="errorMessage"
)
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.iot.*;
ConfigurationDetailsProperty configurationDetailsProperty = ConfigurationDetailsProperty.builder()
.configurationStatus("configurationStatus")
.errorCode("errorCode")
.errorMessage("errorMessage")
.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.IoT;
var configurationDetailsProperty = new ConfigurationDetailsProperty {
ConfigurationStatus = "configurationStatus",
ErrorCode = "errorCode",
ErrorMessage = "errorMessage"
};
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"
configurationDetailsProperty := &ConfigurationDetailsProperty{
ConfigurationStatus: jsii.String("configurationStatus"),
ErrorCode: jsii.String("errorCode"),
ErrorMessage: jsii.String("errorMessage"),
}
Properties
configurationStatusoptionalstringconfiguration_statusoptionalstrconfigurationStatusoptionalStringConfigurationStatusoptionalstringConfigurationStatusoptional*string #The health status of KMS key and AWS access role.
If either KMS key or AWS access role is UNHEALTHY , the return value will be UNHEALTHY . To use a customer managed KMS key, the value of configurationStatus must be HEALTHY .
errorCodeoptionalstringerror_codeoptionalstrerrorCodeoptionalStringErrorCodeoptionalstringErrorCodeoptional*string #The error code that indicates either the KMS key or the AWS access role is `UNHEALTHY` .
Valid values: KMS_KEY_VALIDATION_ERROR and ROLE_VALIDATION_ERROR .
errorMessageoptionalstringerror_messageoptionalstrerrorMessageoptionalStringErrorMessageoptionalstringErrorMessageoptional*string #The detailed error message that corresponds to the `errorCode` .