IpSet.reference constructor

IpSet.reference(
  1. String urn
)

Creates a typed reference to an existing IpSet resource.

Implementation

IpSet.reference(String urn)
  : super(
      'aws:waf/ipSet:IpSet',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  ipSetDescriptors = registerOutput<List<IpSetIpSetDescriptor>?>('ipSetDescriptors', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<IpSetIpSetDescriptor>(guardedValue, (value) => IpSetIpSetDescriptor.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
}