SecretCiphertext.reference constructor
SecretCiphertext.reference(
- String urn
Creates a typed reference to an existing SecretCiphertext resource.
Implementation
SecretCiphertext.reference(String urn)
: super(
'gcp:kms/secretCiphertext:SecretCiphertext',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
additionalSecretOutputs: const ['additionalAuthenticatedData', 'plaintext'],
isResourceReference: true,
) {
additionalAuthenticatedData = registerOutput<String?>('additionalAuthenticatedData', isSecret: true);
ciphertext = registerOutput<String>('ciphertext');
cryptoKey = registerOutput<String>('cryptoKey');
plaintext = registerOutput<String>('plaintext', isSecret: true);
}