IpSet constructor
Creates a new IpSet.
name The Pulumi resource name.
args Arguments used to configure this IpSet. The set of arguments for IpSet.
options Resource options controlling this resource's behavior.
Implementation
IpSet(
String name, {
IpSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:waf/ipSet:IpSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
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');
}