AppCheckRecaptchaV3Config.reference constructor

AppCheckRecaptchaV3Config.reference(
  1. String urn
)

Creates a typed reference to an existing AppCheckRecaptchaV3Config resource.

Implementation

AppCheckRecaptchaV3Config.reference(String urn)
  : super(
      'gcp:firebase/appCheckRecaptchaV3Config:AppCheckRecaptchaV3Config',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
        additionalSecretOutputs: const ['siteSecret'],
      isResourceReference: true,
    ) {
  appId = registerOutput<String>('appId');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  siteSecret = registerOutput<String>('siteSecret', isSecret: true);
  siteSecretSet = registerOutput<bool>('siteSecretSet');
  tokenTtl = registerOutput<String>('tokenTtl');
}