Data Source schema for AWS::EC2::KeyPair
id
(String) Uniquely identifies the resource.key_fingerprint
(String)key_format
(String) The format of the key pair.
Default: pem
key_name
(String) A unique name for the key pair.
Constraints: Up to 255 ASCII characterskey_pair_id
(String)key_type
(String) The type of key pair. Note that ED25519 keys are not supported for Windows instances.
If the PublicKeyMaterial
property is specified, the KeyType
property is ignored, and the key type is inferred from the PublicKeyMaterial
value.
Default: rsa
public_key_material
(String) The public key material. The PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created.tags
(Attributes Set) The tags to apply to the key pair. (see below for nested schema)tags
Read-Only:
key
(String) The tag key.value
(String) The tag value.