KeyPairArgs constructor
const
KeyPairArgs({})
Creates a new KeyPairArgs.
keyName The name for the key pair. If neither keyName nor keyNamePrefix is provided, the provider will create a unique key name.
keyNamePrefix Creates a unique name beginning with the specified prefix. Conflicts with keyName. If neither keyName nor keyNamePrefix is provided, the provider will create a unique key name.
publicKey The public key material.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const KeyPairArgs({
this.keyName,
this.keyNamePrefix,
required this.publicKey,
this.region,
this.tags,
});