QuerySuggestionsBlockList constructor

QuerySuggestionsBlockList(
  1. String name, {
  2. QuerySuggestionsBlockListArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

QuerySuggestionsBlockList(
  String name, {
  QuerySuggestionsBlockListArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:kendra/querySuggestionsBlockList:QuerySuggestionsBlockList',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  description = registerOutput<String?>('description');
  indexId = registerOutput<String>('indexId');
  this.name = registerOutput<String>('name');
  querySuggestionsBlockListId = registerOutput<String>('querySuggestionsBlockListId');
  region = registerOutput<String>('region');
  roleArn = registerOutput<String>('roleArn');
  sourceS3Path = registerOutput<QuerySuggestionsBlockListSourceS3Path>('sourceS3Path', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return QuerySuggestionsBlockListSourceS3Path.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  status = registerOutput<String>('status');
  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>(); });
}