NetworkProfile.reference constructor

NetworkProfile.reference(
  1. String urn
)

Creates a typed reference to an existing NetworkProfile resource.

Implementation

NetworkProfile.reference(String urn)
  : super(
      'aws:devicefarm/networkProfile:NetworkProfile',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  description = registerOutput<String?>('description');
  downlinkBandwidthBits = registerOutput<int?>('downlinkBandwidthBits');
  downlinkDelayMs = registerOutput<int?>('downlinkDelayMs');
  downlinkJitterMs = registerOutput<int?>('downlinkJitterMs');
  downlinkLossPercent = registerOutput<int?>('downlinkLossPercent');
  this.name = registerOutput<String>('name');
  projectArn = registerOutput<String>('projectArn');
  region = registerOutput<String>('region');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  type = registerOutput<String?>('type');
  uplinkBandwidthBits = registerOutput<int?>('uplinkBandwidthBits');
  uplinkDelayMs = registerOutput<int?>('uplinkDelayMs');
  uplinkJitterMs = registerOutput<int?>('uplinkJitterMs');
  uplinkLossPercent = registerOutput<int?>('uplinkLossPercent');
}