Ciphertext.reference constructor

Ciphertext.reference(
  1. String urn
)

Creates a typed reference to an existing Ciphertext resource.

Implementation

Ciphertext.reference(String urn)
  : super(
      'aws:kms/ciphertext:Ciphertext',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
        additionalSecretOutputs: const ['plaintext', 'plaintextWo'],
      isResourceReference: true,
    ) {
  ciphertextBlob = registerOutput<String>('ciphertextBlob');
  context = registerOutput<Map<String, String>?>('context', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  keyId = registerOutput<String>('keyId');
  plaintext = registerOutput<String?>('plaintext', isSecret: true);
  plaintextWo = registerOutput<String?>('plaintextWo', isSecret: true);
  plaintextWoVersion = registerOutput<String?>('plaintextWoVersion');
  region = registerOutput<String>('region');
}