CreateKeyPairInput

Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

KeyName

Type: *string

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

KeyName is a required field

Method

GoString

func (s CreateKeyPairInput) GoString() string

GoString returns the string representation

SetDryRun

func (s *CreateKeyPairInput) SetDryRun(v bool) *CreateKeyPairInput

SetDryRun sets the DryRun field's value.

SetKeyName

func (s *CreateKeyPairInput) SetKeyName(v string) *CreateKeyPairInput

SetKeyName sets the KeyName field's value.

String

func (s CreateKeyPairInput) String() string

String returns the string representation

Validate

func (s *CreateKeyPairInput) Validate() error

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

Javascript is disabled or is unavailable in your browser.

To use the AWS Documentation, Javascript must be enabled. Please refer to your browser's
Help pages for instructions.