Namespace Pulumi.Aws.CloudHsmV2
Classes
Cluster
Creates an Amazon CloudHSM v2 cluster.
For information about CloudHSM v2, see the AWS CloudHSM User Guide and the [Amazon CloudHSM API Reference][2].
NOTE: CloudHSM can take up to several minutes to be set up. Practically no single attribute can be updated except TAGS. If you need to delete a cluster, you have to remove its HSM modules first. To initialize cluster, you have to add an hsm instance to the cluster then sign CSR and upload it.
ClusterArgs
ClusterState
GetCluster
GetClusterArgs
GetClusterResult
Hsm
Creates an HSM module in Amazon CloudHSM v2 cluster.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var cluster = Output.Create(Aws.CloudHsmV2.GetCluster.InvokeAsync(new Aws.CloudHsmV2.GetClusterArgs
{
ClusterId = @var.Cloudhsm_cluster_id,
}));
var cloudhsmV2Hsm = new Aws.CloudHsmV2.Hsm("cloudhsmV2Hsm", new Aws.CloudHsmV2.HsmArgs
{
ClusterId = cluster.Apply(cluster => cluster.ClusterId),
SubnetId = cluster.Apply(cluster => cluster.SubnetIds[0]),
});
}
}