HsmClientCertificateArgs

data class HsmClientCertificateArgs(val hsmClientCertificateIdentifier: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<HsmClientCertificateArgs>

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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshift.HsmClientCertificate("example", {hsmClientCertificateIdentifier: "example"});
import pulumi
import pulumi_aws as aws
example = aws.redshift.HsmClientCertificate("example", hsm_client_certificate_identifier="example")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.RedShift.HsmClientCertificate("example", new()
{
HsmClientCertificateIdentifier = "example",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshift"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redshift.NewHsmClientCertificate(ctx, "example", &redshift.HsmClientCertificateArgs{
HsmClientCertificateIdentifier: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
resources:
example:
type: aws:redshift:HsmClientCertificate
properties:
hsmClientCertificateIdentifier: example

Import

Using pulumi import, import Redshift HSM Client Certificates using hsm_client_certificate_identifier. For example:

$ pulumi import aws:redshift/hsmClientCertificate:HsmClientCertificate test example

Constructors

Link copied to clipboard
constructor(hsmClientCertificateIdentifier: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

The identifier of the HSM client certificate.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): HsmClientCertificateArgs