AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This structure defines a query parameter for a saved CloudWatch Logs Insights query definition. Query parameters are supported only for Logs Insights QL queries. They are placeholder variables that you can reference in a query string using the {{parameterName}} syntax. Each parameter can include a default value and a description.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.QueryParameter

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class QueryParameter

The QueryParameter type exposes the following members

Constructors

NameDescription
Public Method QueryParameter()

Properties

NameTypeDescription
Public Property DefaultValue System.String

Gets and sets the property DefaultValue.

The default value to use for this query parameter if no value is supplied at execution time.

Public Property Description System.String

Gets and sets the property Description.

A description of the query parameter that explains its purpose or expected values.

Public Property Name System.String

Gets and sets the property Name.

The name of the query parameter. A query parameter name must start with a letter or underscore, and contain only letters, digits, and underscores.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer