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< ? tags})String, String> ?> -
Creates a new KeyPairArgs.
nameName of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts withnamePrefix.namePrefixCreates a unique name beginning with the specified prefix. Conflicts withname.pgpKeyPGP key to encrypt the resulting private key material. Only used when creating a new key pair.publicKeyPublic key material. This public key will be imported into Lightsail.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a providerdefaultTagsconfiguration 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
-
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
defaultTagsconfiguration 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