pub struct CreateHsmConfiguration<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateHsmConfiguration
.
Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM.
In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
Implementations
impl<C, M, R> CreateHsmConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateHsmConfiguration<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateHsmConfigurationOutput, SdkError<CreateHsmConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateHsmConfigurationInputOperationOutputAlias, CreateHsmConfigurationOutput, CreateHsmConfigurationError, CreateHsmConfigurationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateHsmConfigurationOutput, SdkError<CreateHsmConfigurationError>> where
R::Policy: SmithyRetryPolicy<CreateHsmConfigurationInputOperationOutputAlias, CreateHsmConfigurationOutput, CreateHsmConfigurationError, CreateHsmConfigurationInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The identifier to be assigned to the new Amazon Redshift HSM configuration.
The identifier to be assigned to the new Amazon Redshift HSM configuration.
A text description of the HSM configuration to be created.
A text description of the HSM configuration to be created.
The IP address that the Amazon Redshift cluster must use to access the HSM.
The IP address that the Amazon Redshift cluster must use to access the HSM.
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
The password required to access the HSM partition.
The password required to access the HSM partition.
The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tag instances.
A list of tag instances.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateHsmConfiguration<C, M, R>
impl<C, M, R> Send for CreateHsmConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateHsmConfiguration<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateHsmConfiguration<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateHsmConfiguration<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more