AclConfig.reference constructor

AclConfig.reference(
  1. String urn
)

Creates a typed reference to an existing AclConfig resource.

Implementation

AclConfig.reference(String urn)
  : super(
      'gcp:discoveryengine/aclConfig:AclConfig',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  idpConfig = registerOutput<AclConfigIdpConfig?>('idpConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AclConfigIdpConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
}