AwsEc2KeyPairPropertiesArgs

data class AwsEc2KeyPairPropertiesArgs(val keyFingerprint: Output<String>? = null, val keyFormat: Output<Either<String, KeyFormat>>? = null, val keyName: Output<String>? = null, val keyPairId: Output<String>? = null, val keyType: Output<Either<String, KeyType>>? = null, val publicKeyMaterial: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<AwsEc2KeyPairPropertiesArgs>

Definition of awsEc2KeyPair

Constructors

Link copied to clipboard
constructor(keyFingerprint: Output<String>? = null, keyFormat: Output<Either<String, KeyFormat>>? = null, keyName: Output<String>? = null, keyPairId: Output<String>? = null, keyType: Output<Either<String, KeyType>>? = null, publicKeyMaterial: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val keyFingerprint: Output<String>? = null

Property keyFingerprint

Link copied to clipboard
val keyFormat: Output<Either<String, KeyFormat>>? = null

The format of the key pair. Default: `pem`

Link copied to clipboard
val keyName: Output<String>? = null

A unique name for the key pair. Constraints: Up to 255 ASCII characters

Link copied to clipboard
val keyPairId: Output<String>? = null

Property keyPairId

Link copied to clipboard
val keyType: Output<Either<String, KeyType>>? = null

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`

Link copied to clipboard
val publicKeyMaterial: Output<String>? = null

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.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags to apply to the key pair.

Functions

Link copied to clipboard
open override fun toJava(): AwsEc2KeyPairPropertiesArgs