KeyPairArgs class
The set of arguments for KeyPair. The set of arguments for KeyPair.
Constructors
-
KeyPairArgs({Input<
String?> ? keyName, Input<String?> ? keyNamePrefix, required Input<String> publicKey, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new KeyPairArgs.
keyNameThe name for the key pair. If neitherkeyNamenorkeyNamePrefixis provided, the provider will create a unique key name.keyNamePrefixCreates a unique name beginning with the specified prefix. Conflicts withkeyName. If neitherkeyNamenorkeyNamePrefixis provided, the provider will create a unique key name.publicKeyThe public key material.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsKey-value map of resource tags. 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
-
keyName
→ Input<
String?> ? -
The name for the key pair. If neither
keyNamenorkeyNamePrefixis provided, the provider will create a unique key name.final -
keyNamePrefix
→ Input<
String?> ? -
Creates a unique name beginning with the specified prefix. Conflicts with
keyName. If neitherkeyNamenorkeyNamePrefixis provided, the provider will create a unique key name.final -
publicKey
→ Input<
String> -
The public key material.
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
-
Key-value map of resource tags. 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