Documentation ¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterClusterCertificate
- type ClusterClusterCertificateArgs
- func (ClusterClusterCertificateArgs) ElementType() reflect.Type
- func (i ClusterClusterCertificateArgs) ToClusterClusterCertificateOutput() ClusterClusterCertificateOutput
- func (i ClusterClusterCertificateArgs) ToClusterClusterCertificateOutputWithContext(ctx context.Context) ClusterClusterCertificateOutput
- type ClusterClusterCertificateArray
- func (ClusterClusterCertificateArray) ElementType() reflect.Type
- func (i ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutput() ClusterClusterCertificateArrayOutput
- func (i ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutputWithContext(ctx context.Context) ClusterClusterCertificateArrayOutput
- type ClusterClusterCertificateArrayInput
- type ClusterClusterCertificateArrayOutput
- func (ClusterClusterCertificateArrayOutput) ElementType() reflect.Type
- func (o ClusterClusterCertificateArrayOutput) Index(i pulumi.IntInput) ClusterClusterCertificateOutput
- func (o ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutput() ClusterClusterCertificateArrayOutput
- func (o ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutputWithContext(ctx context.Context) ClusterClusterCertificateArrayOutput
- type ClusterClusterCertificateInput
- type ClusterClusterCertificateOutput
- func (o ClusterClusterCertificateOutput) AwsHardwareCertificate() pulumi.StringPtrOutput
- func (o ClusterClusterCertificateOutput) ClusterCertificate() pulumi.StringPtrOutput
- func (o ClusterClusterCertificateOutput) ClusterCsr() pulumi.StringPtrOutput
- func (ClusterClusterCertificateOutput) ElementType() reflect.Type
- func (o ClusterClusterCertificateOutput) HsmCertificate() pulumi.StringPtrOutput
- func (o ClusterClusterCertificateOutput) ManufacturerHardwareCertificate() pulumi.StringPtrOutput
- func (o ClusterClusterCertificateOutput) ToClusterClusterCertificateOutput() ClusterClusterCertificateOutput
- func (o ClusterClusterCertificateOutput) ToClusterClusterCertificateOutputWithContext(ctx context.Context) ClusterClusterCertificateOutput
- type ClusterState
- type GetClusterClusterCertificates
- type GetClusterClusterCertificatesArgs
- func (GetClusterClusterCertificatesArgs) ElementType() reflect.Type
- func (i GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutput() GetClusterClusterCertificatesOutput
- func (i GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutputWithContext(ctx context.Context) GetClusterClusterCertificatesOutput
- type GetClusterClusterCertificatesInput
- type GetClusterClusterCertificatesOutput
- func (o GetClusterClusterCertificatesOutput) AwsHardwareCertificate() pulumi.StringOutput
- func (o GetClusterClusterCertificatesOutput) ClusterCertificate() pulumi.StringOutput
- func (o GetClusterClusterCertificatesOutput) ClusterCsr() pulumi.StringOutput
- func (GetClusterClusterCertificatesOutput) ElementType() reflect.Type
- func (o GetClusterClusterCertificatesOutput) HsmCertificate() pulumi.StringOutput
- func (o GetClusterClusterCertificatesOutput) ManufacturerHardwareCertificate() pulumi.StringOutput
- func (o GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutput() GetClusterClusterCertificatesOutput
- func (o GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutputWithContext(ctx context.Context) GetClusterClusterCertificatesOutput
- type Hsm
- type HsmArgs
- type HsmState
- type LookupClusterArgs
- type LookupClusterResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // The list of cluster certificates. // * `cluster_certificates.0.cluster_certificate` - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner. // * `cluster_certificates.0.cluster_csr` - The certificate signing request (CSR). Available only in UNINITIALIZED state after an hsm instance is added to the cluster. // * `cluster_certificates.0.aws_hardware_certificate` - The HSM hardware certificate issued (signed) by AWS CloudHSM. // * `cluster_certificates.0.hsm_certificate` - The HSM certificate issued (signed) by the HSM hardware. // * `cluster_certificates.0.manufacturer_hardware_certificate` - The HSM hardware certificate issued (signed) by the hardware manufacturer. ClusterCertificates ClusterClusterCertificateArrayOutput `pulumi:"clusterCertificates"` // The id of the CloudHSM cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The state of the cluster. ClusterState pulumi.StringOutput `pulumi:"clusterState"` // The type of HSM module in the cluster. Currently, only hsm1.medium is supported. HsmType pulumi.StringOutput `pulumi:"hsmType"` // The ID of the security group associated with the CloudHSM cluster. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The id of Cloud HSM v2 cluster backup to be restored. SourceBackupIdentifier pulumi.StringPtrOutput `pulumi:"sourceBackupIdentifier"` // The IDs of subnets in which cluster will operate. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The id of the VPC that the CloudHSM cluster resides in. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Creates an Amazon CloudHSM v2 cluster.
For information about CloudHSM v2, see the [AWS CloudHSM User Guide](https://docs.aws.amazon.com/cloudhsm/latest/userguide/introduction.html) 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.
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
type ClusterArgs ¶
type ClusterArgs struct { // The type of HSM module in the cluster. Currently, only hsm1.medium is supported. HsmType pulumi.StringInput // The id of Cloud HSM v2 cluster backup to be restored. SourceBackupIdentifier pulumi.StringPtrInput // The IDs of subnets in which cluster will operate. SubnetIds pulumi.StringArrayInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterClusterCertificate ¶
type ClusterClusterCertificate struct { AwsHardwareCertificate *string `pulumi:"awsHardwareCertificate"` ClusterCertificate *string `pulumi:"clusterCertificate"` ClusterCsr *string `pulumi:"clusterCsr"` HsmCertificate *string `pulumi:"hsmCertificate"` ManufacturerHardwareCertificate *string `pulumi:"manufacturerHardwareCertificate"` }
type ClusterClusterCertificateArgs ¶
type ClusterClusterCertificateArgs struct { AwsHardwareCertificate pulumi.StringPtrInput `pulumi:"awsHardwareCertificate"` ClusterCertificate pulumi.StringPtrInput `pulumi:"clusterCertificate"` ClusterCsr pulumi.StringPtrInput `pulumi:"clusterCsr"` HsmCertificate pulumi.StringPtrInput `pulumi:"hsmCertificate"` ManufacturerHardwareCertificate pulumi.StringPtrInput `pulumi:"manufacturerHardwareCertificate"` }
func (ClusterClusterCertificateArgs) ElementType ¶
func (ClusterClusterCertificateArgs) ElementType() reflect.Type
func (ClusterClusterCertificateArgs) ToClusterClusterCertificateOutput ¶
func (i ClusterClusterCertificateArgs) ToClusterClusterCertificateOutput() ClusterClusterCertificateOutput
func (ClusterClusterCertificateArgs) ToClusterClusterCertificateOutputWithContext ¶
func (i ClusterClusterCertificateArgs) ToClusterClusterCertificateOutputWithContext(ctx context.Context) ClusterClusterCertificateOutput
type ClusterClusterCertificateArray ¶
type ClusterClusterCertificateArray []ClusterClusterCertificateInput
func (ClusterClusterCertificateArray) ElementType ¶
func (ClusterClusterCertificateArray) ElementType() reflect.Type
func (ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutput ¶
func (i ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutput() ClusterClusterCertificateArrayOutput
func (ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutputWithContext ¶
func (i ClusterClusterCertificateArray) ToClusterClusterCertificateArrayOutputWithContext(ctx context.Context) ClusterClusterCertificateArrayOutput
type ClusterClusterCertificateArrayInput ¶
type ClusterClusterCertificateArrayInput interface { pulumi.Input ToClusterClusterCertificateArrayOutput() ClusterClusterCertificateArrayOutput ToClusterClusterCertificateArrayOutputWithContext(context.Context) ClusterClusterCertificateArrayOutput }
ClusterClusterCertificateArrayInput is an input type that accepts ClusterClusterCertificateArray and ClusterClusterCertificateArrayOutput values. You can construct a concrete instance of `ClusterClusterCertificateArrayInput` via:
ClusterClusterCertificateArray{ ClusterClusterCertificateArgs{...} }
type ClusterClusterCertificateArrayOutput ¶
type ClusterClusterCertificateArrayOutput struct{ *pulumi.OutputState }
func (ClusterClusterCertificateArrayOutput) ElementType ¶
func (ClusterClusterCertificateArrayOutput) ElementType() reflect.Type
func (ClusterClusterCertificateArrayOutput) Index ¶
func (o ClusterClusterCertificateArrayOutput) Index(i pulumi.IntInput) ClusterClusterCertificateOutput
func (ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutput ¶
func (o ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutput() ClusterClusterCertificateArrayOutput
func (ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutputWithContext ¶
func (o ClusterClusterCertificateArrayOutput) ToClusterClusterCertificateArrayOutputWithContext(ctx context.Context) ClusterClusterCertificateArrayOutput
type ClusterClusterCertificateInput ¶
type ClusterClusterCertificateInput interface { pulumi.Input ToClusterClusterCertificateOutput() ClusterClusterCertificateOutput ToClusterClusterCertificateOutputWithContext(context.Context) ClusterClusterCertificateOutput }
ClusterClusterCertificateInput is an input type that accepts ClusterClusterCertificateArgs and ClusterClusterCertificateOutput values. You can construct a concrete instance of `ClusterClusterCertificateInput` via:
ClusterClusterCertificateArgs{...}
type ClusterClusterCertificateOutput ¶
type ClusterClusterCertificateOutput struct{ *pulumi.OutputState }
func (ClusterClusterCertificateOutput) AwsHardwareCertificate ¶
func (o ClusterClusterCertificateOutput) AwsHardwareCertificate() pulumi.StringPtrOutput
func (ClusterClusterCertificateOutput) ClusterCertificate ¶
func (o ClusterClusterCertificateOutput) ClusterCertificate() pulumi.StringPtrOutput
func (ClusterClusterCertificateOutput) ClusterCsr ¶
func (o ClusterClusterCertificateOutput) ClusterCsr() pulumi.StringPtrOutput
func (ClusterClusterCertificateOutput) ElementType ¶
func (ClusterClusterCertificateOutput) ElementType() reflect.Type
func (ClusterClusterCertificateOutput) HsmCertificate ¶
func (o ClusterClusterCertificateOutput) HsmCertificate() pulumi.StringPtrOutput
func (ClusterClusterCertificateOutput) ManufacturerHardwareCertificate ¶
func (o ClusterClusterCertificateOutput) ManufacturerHardwareCertificate() pulumi.StringPtrOutput
func (ClusterClusterCertificateOutput) ToClusterClusterCertificateOutput ¶
func (o ClusterClusterCertificateOutput) ToClusterClusterCertificateOutput() ClusterClusterCertificateOutput
func (ClusterClusterCertificateOutput) ToClusterClusterCertificateOutputWithContext ¶
func (o ClusterClusterCertificateOutput) ToClusterClusterCertificateOutputWithContext(ctx context.Context) ClusterClusterCertificateOutput
type ClusterState ¶
type ClusterState struct { // The list of cluster certificates. // * `cluster_certificates.0.cluster_certificate` - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner. // * `cluster_certificates.0.cluster_csr` - The certificate signing request (CSR). Available only in UNINITIALIZED state after an hsm instance is added to the cluster. // * `cluster_certificates.0.aws_hardware_certificate` - The HSM hardware certificate issued (signed) by AWS CloudHSM. // * `cluster_certificates.0.hsm_certificate` - The HSM certificate issued (signed) by the HSM hardware. // * `cluster_certificates.0.manufacturer_hardware_certificate` - The HSM hardware certificate issued (signed) by the hardware manufacturer. ClusterCertificates ClusterClusterCertificateArrayInput // The id of the CloudHSM cluster. ClusterId pulumi.StringPtrInput // The state of the cluster. ClusterState pulumi.StringPtrInput // The type of HSM module in the cluster. Currently, only hsm1.medium is supported. HsmType pulumi.StringPtrInput // The ID of the security group associated with the CloudHSM cluster. SecurityGroupId pulumi.StringPtrInput // The id of Cloud HSM v2 cluster backup to be restored. SourceBackupIdentifier pulumi.StringPtrInput // The IDs of subnets in which cluster will operate. SubnetIds pulumi.StringArrayInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The id of the VPC that the CloudHSM cluster resides in. VpcId pulumi.StringPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type GetClusterClusterCertificates ¶
type GetClusterClusterCertificates struct { AwsHardwareCertificate string `pulumi:"awsHardwareCertificate"` ClusterCertificate string `pulumi:"clusterCertificate"` ClusterCsr string `pulumi:"clusterCsr"` HsmCertificate string `pulumi:"hsmCertificate"` ManufacturerHardwareCertificate string `pulumi:"manufacturerHardwareCertificate"` }
type GetClusterClusterCertificatesArgs ¶
type GetClusterClusterCertificatesArgs struct { AwsHardwareCertificate pulumi.StringInput `pulumi:"awsHardwareCertificate"` ClusterCertificate pulumi.StringInput `pulumi:"clusterCertificate"` ClusterCsr pulumi.StringInput `pulumi:"clusterCsr"` HsmCertificate pulumi.StringInput `pulumi:"hsmCertificate"` ManufacturerHardwareCertificate pulumi.StringInput `pulumi:"manufacturerHardwareCertificate"` }
func (GetClusterClusterCertificatesArgs) ElementType ¶
func (GetClusterClusterCertificatesArgs) ElementType() reflect.Type
func (GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutput ¶
func (i GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutput() GetClusterClusterCertificatesOutput
func (GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutputWithContext ¶
func (i GetClusterClusterCertificatesArgs) ToGetClusterClusterCertificatesOutputWithContext(ctx context.Context) GetClusterClusterCertificatesOutput
type GetClusterClusterCertificatesInput ¶
type GetClusterClusterCertificatesInput interface { pulumi.Input ToGetClusterClusterCertificatesOutput() GetClusterClusterCertificatesOutput ToGetClusterClusterCertificatesOutputWithContext(context.Context) GetClusterClusterCertificatesOutput }
GetClusterClusterCertificatesInput is an input type that accepts GetClusterClusterCertificatesArgs and GetClusterClusterCertificatesOutput values. You can construct a concrete instance of `GetClusterClusterCertificatesInput` via:
GetClusterClusterCertificatesArgs{...}
type GetClusterClusterCertificatesOutput ¶
type GetClusterClusterCertificatesOutput struct{ *pulumi.OutputState }
func (GetClusterClusterCertificatesOutput) AwsHardwareCertificate ¶
func (o GetClusterClusterCertificatesOutput) AwsHardwareCertificate() pulumi.StringOutput
func (GetClusterClusterCertificatesOutput) ClusterCertificate ¶
func (o GetClusterClusterCertificatesOutput) ClusterCertificate() pulumi.StringOutput
func (GetClusterClusterCertificatesOutput) ClusterCsr ¶
func (o GetClusterClusterCertificatesOutput) ClusterCsr() pulumi.StringOutput
func (GetClusterClusterCertificatesOutput) ElementType ¶
func (GetClusterClusterCertificatesOutput) ElementType() reflect.Type
func (GetClusterClusterCertificatesOutput) HsmCertificate ¶
func (o GetClusterClusterCertificatesOutput) HsmCertificate() pulumi.StringOutput
func (GetClusterClusterCertificatesOutput) ManufacturerHardwareCertificate ¶
func (o GetClusterClusterCertificatesOutput) ManufacturerHardwareCertificate() pulumi.StringOutput
func (GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutput ¶
func (o GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutput() GetClusterClusterCertificatesOutput
func (GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutputWithContext ¶
func (o GetClusterClusterCertificatesOutput) ToGetClusterClusterCertificatesOutputWithContext(ctx context.Context) GetClusterClusterCertificatesOutput
type Hsm ¶
type Hsm struct { pulumi.CustomResourceState // The IDs of AZ in which HSM module will be located. Do not use together with subnet_id. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The ID of Cloud HSM v2 cluster to which HSM will be added. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The id of the ENI interface allocated for HSM module. HsmEniId pulumi.StringOutput `pulumi:"hsmEniId"` // The id of the HSM module. HsmId pulumi.StringOutput `pulumi:"hsmId"` // The state of the HSM module. HsmState pulumi.StringOutput `pulumi:"hsmState"` // The IP address of HSM module. Must be within the CIDR of selected subnet. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The ID of subnet in which HSM module will be located. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Creates an HSM module in Amazon CloudHSM v2 cluster.
func GetHsm ¶
func GetHsm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HsmState, opts ...pulumi.ResourceOption) (*Hsm, error)
GetHsm gets an existing Hsm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type HsmArgs ¶
type HsmArgs struct { // The IDs of AZ in which HSM module will be located. Do not use together with subnet_id. AvailabilityZone pulumi.StringPtrInput // The ID of Cloud HSM v2 cluster to which HSM will be added. ClusterId pulumi.StringInput // The IP address of HSM module. Must be within the CIDR of selected subnet. IpAddress pulumi.StringPtrInput // The ID of subnet in which HSM module will be located. SubnetId pulumi.StringPtrInput }
The set of arguments for constructing a Hsm resource.
func (HsmArgs) ElementType ¶
type HsmState ¶
type HsmState struct { // The IDs of AZ in which HSM module will be located. Do not use together with subnet_id. AvailabilityZone pulumi.StringPtrInput // The ID of Cloud HSM v2 cluster to which HSM will be added. ClusterId pulumi.StringPtrInput // The id of the ENI interface allocated for HSM module. HsmEniId pulumi.StringPtrInput // The id of the HSM module. HsmId pulumi.StringPtrInput // The state of the HSM module. HsmState pulumi.StringPtrInput // The IP address of HSM module. Must be within the CIDR of selected subnet. IpAddress pulumi.StringPtrInput // The ID of subnet in which HSM module will be located. SubnetId pulumi.StringPtrInput }
func (HsmState) ElementType ¶
type LookupClusterArgs ¶
type LookupClusterArgs struct { // The id of Cloud HSM v2 cluster. ClusterId string `pulumi:"clusterId"` // The state of the cluster to be found. ClusterState *string `pulumi:"clusterState"` }
A collection of arguments for invoking getCluster.
type LookupClusterResult ¶
type LookupClusterResult struct { // The list of cluster certificates. // * `cluster_certificates.0.cluster_certificate` - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner. // * `cluster_certificates.0.cluster_csr` - The certificate signing request (CSR). Available only in UNINITIALIZED state. // * `cluster_certificates.0.aws_hardware_certificate` - The HSM hardware certificate issued (signed) by AWS CloudHSM. // * `cluster_certificates.0.hsm_certificate` - The HSM certificate issued (signed) by the HSM hardware. // * `cluster_certificates.0.manufacturer_hardware_certificate` - The HSM hardware certificate issued (signed) by the hardware manufacturer. // The number of available cluster certificates may vary depending on state of the cluster. ClusterCertificates GetClusterClusterCertificates `pulumi:"clusterCertificates"` ClusterId string `pulumi:"clusterId"` ClusterState string `pulumi:"clusterState"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the security group associated with the CloudHSM cluster. SecurityGroupId string `pulumi:"securityGroupId"` // The IDs of subnets in which cluster operates. SubnetIds []string `pulumi:"subnetIds"` // The id of the VPC that the CloudHSM cluster resides in. VpcId string `pulumi:"vpcId"` }
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)
Use this data source to get information about a CloudHSM v2 cluster