Skip to main content

alien_core/import/data/aws/
key.rs

1use serde::{Deserialize, Serialize};
2
3/// AWS KMS key created by the customer-installed setup stack.
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
6#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
7#[serde(rename_all = "camelCase")]
8pub struct AwsKeyImportData {
9    /// Immutable KMS key ARN. Alias ARNs are not accepted.
10    pub key_arn: String,
11}