CreateKeyPairRequest
¶
Source code in docs_src/capo_ec2/types/create_key_pair_request.py
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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.
key_format
instance-attribute
¶
key_format: NotRequired[KeyFormat]
The format of the key pair.
Default: pem
key_name
instance-attribute
¶
key_name: NotRequired[String]
A unique name for the key pair.
Constraints: Up to 255 ASCII characters
key_type
instance-attribute
¶
key_type: NotRequired[KeyType]
The type of key pair. Note that ED25519 keys are not supported for Windows instances.
Default: rsa
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to apply to the new key pair.