AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateHsmConfigurationInput

import "github.com/aws/aws-sdk-go/service/redshift"

type CreateHsmConfigurationInput struct { Description *string `type:"string" required:"true"` HsmConfigurationIdentifier *string `type:"string" required:"true"` HsmIpAddress *string `type:"string" required:"true"` HsmPartitionName *string `type:"string" required:"true"` HsmPartitionPassword *string `type:"string" required:"true"` HsmServerPublicCertificate *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

Description

Type: *string

A text description of the HSM configuration to be created.

Description is a required field

HsmConfigurationIdentifier

Type: *string

The identifier to be assigned to the new Amazon Redshift HSM configuration.

HsmConfigurationIdentifier is a required field

HsmIpAddress

Type: *string

The IP address that the Amazon Redshift cluster must use to access the HSM.

HsmIpAddress is a required field

HsmPartitionName

Type: *string

The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.

HsmPartitionName is a required field

HsmPartitionPassword

Type: *string

The password required to access the HSM partition.

HsmPartitionPassword is a required field

HsmServerPublicCertificate

Type: *string

The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.

HsmServerPublicCertificate is a required field

Tags

A tag consisting of a name/value pair for a resource.

Method

GoString

func (s CreateHsmConfigurationInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreateHsmConfigurationInput) SetDescription(v string) *CreateHsmConfigurationInput

SetDescription sets the Description field's value.

SetHsmConfigurationIdentifier

func (s *CreateHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *CreateHsmConfigurationInput

SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.

SetHsmIpAddress

func (s *CreateHsmConfigurationInput) SetHsmIpAddress(v string) *CreateHsmConfigurationInput

SetHsmIpAddress sets the HsmIpAddress field's value.

SetHsmPartitionName

func (s *CreateHsmConfigurationInput) SetHsmPartitionName(v string) *CreateHsmConfigurationInput

SetHsmPartitionName sets the HsmPartitionName field's value.

SetHsmPartitionPassword

func (s *CreateHsmConfigurationInput) SetHsmPartitionPassword(v string) *CreateHsmConfigurationInput

SetHsmPartitionPassword sets the HsmPartitionPassword field's value.

SetHsmServerPublicCertificate

func (s *CreateHsmConfigurationInput) SetHsmServerPublicCertificate(v string) *CreateHsmConfigurationInput

SetHsmServerPublicCertificate sets the HsmServerPublicCertificate field's value.

SetTags

func (s *CreateHsmConfigurationInput) SetTags(v []*Tag) *CreateHsmConfigurationInput

SetTags sets the Tags field's value.

String

func (s CreateHsmConfigurationInput) String() string

String returns the string representation

Validate

func (s *CreateHsmConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: