com.pulumi.aws.redshift.HsmClientCertificate Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.redshift;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.redshift.HsmClientCertificateArgs;
import com.pulumi.aws.redshift.inputs.HsmClientCertificateState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.redshift.HsmClientCertificate;
* import com.pulumi.aws.redshift.HsmClientCertificateArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var example = new HsmClientCertificate("example", HsmClientCertificateArgs.builder()
* .hsmClientCertificateIdentifier("example")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import Redshift HSM Client Certificates using `hsm_client_certificate_identifier`. For example:
*
* ```sh
* $ pulumi import aws:redshift/hsmClientCertificate:HsmClientCertificate test example
* ```
*
*/
@ResourceType(type="aws:redshift/hsmClientCertificate:HsmClientCertificate")
public class HsmClientCertificate extends com.pulumi.resources.CustomResource {
/**
* Amazon Resource Name (ARN) of the Hsm Client Certificate.
*
*/
@Export(name="arn", refs={String.class}, tree="[0]")
private Output arn;
/**
* @return Amazon Resource Name (ARN) of the Hsm Client Certificate.
*
*/
public Output arn() {
return this.arn;
}
/**
* The identifier of the HSM client certificate.
*
*/
@Export(name="hsmClientCertificateIdentifier", refs={String.class}, tree="[0]")
private Output hsmClientCertificateIdentifier;
/**
* @return The identifier of the HSM client certificate.
*
*/
public Output hsmClientCertificateIdentifier() {
return this.hsmClientCertificateIdentifier;
}
/**
* The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
*
*/
@Export(name="hsmClientCertificatePublicKey", refs={String.class}, tree="[0]")
private Output hsmClientCertificatePublicKey;
/**
* @return The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
*
*/
public Output hsmClientCertificatePublicKey() {
return this.hsmClientCertificatePublicKey;
}
/**
* A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy