ByteMatchSet constructor

ByteMatchSet(
  1. String name, {
  2. ByteMatchSetArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ByteMatchSet. name The Pulumi resource name. args Arguments used to configure this ByteMatchSet. The set of arguments for ByteMatchSet. options Resource options controlling this resource's behavior.

Implementation

ByteMatchSet(
  String name, {
  ByteMatchSetArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:waf/byteMatchSet:ByteMatchSet',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  byteMatchTuples = registerOutput<List<ByteMatchSetByteMatchTuple>?>('byteMatchTuples', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ByteMatchSetByteMatchTuple>(guardedValue, (value) => ByteMatchSetByteMatchTuple.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
}