KeyPairState constructor
- Input<
String?> ? arn, - Input<
String?> ? encryptedFingerprint, - Input<
String?> ? encryptedPrivateKey, - Input<
String?> ? fingerprint, - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
String?> ? pgpKey, - Input<
String?> ? privateKey, - Input<
String?> ? publicKey, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new KeyPairState.
arn ARN of the Lightsail key pair.
encryptedFingerprint MD5 public key fingerprint for the encrypted private key.
encryptedPrivateKey Private key material, base 64 encoded and encrypted with the given pgpKey. This is only populated when creating a new key and pgpKey is supplied.
fingerprint MD5 public key fingerprint as specified in section 4 of RFC 4716.
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.
privateKey Private key, base64 encoded. This is only populated when creating a new key, and when no pgpKey is provided.
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.
tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const KeyPairState({
this.arn,
this.encryptedFingerprint,
this.encryptedPrivateKey,
this.fingerprint,
this.name,
this.namePrefix,
this.pgpKey,
this.privateKey,
this.publicKey,
this.region,
this.tags,
this.tagsAll,
});