KeyPairArgs class

The set of arguments for KeyPair. The set of arguments for KeyPair.

Constructors

KeyPairArgs({Input<String?>? name, Input<String?>? namePrefix, Input<String?>? pgpKey, Input<String?>? publicKey, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new KeyPairArgs. name Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. pgpKey PGP key to encrypt the resulting private key material. Only used when creating a new key pair. publicKey Public key material. This public key will be imported into Lightsail. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
KeyPairArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
pgpKey → Input<String?>?
PGP key to encrypt the resulting private key material. Only used when creating a new key pair.
final
publicKey → Input<String?>?
Public key material. This public key will be imported into Lightsail.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited