Interface CfnQueryDefinitionPropsMixin.QueryParameterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQueryDefinitionPropsMixin.QueryParameterProperty.Jsii$Proxy
- Enclosing class:
CfnQueryDefinitionPropsMixin
@Stability(Stable)
public static interface CfnQueryDefinitionPropsMixin.QueryParameterProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.logs.*;
QueryParameterProperty queryParameterProperty = QueryParameterProperty.builder()
.defaultValue("defaultValue")
.description("description")
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQueryDefinitionPropsMixin.QueryParameterPropertystatic final classAn implementation forCfnQueryDefinitionPropsMixin.QueryParameterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe default value to use for this query parameter if no value is supplied at execution time.default StringA description of the query parameter that explains its purpose or expected values.default StringgetName()The name of the query parameter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultValue
The default value to use for this query parameter if no value is supplied at execution time.- See Also:
-
getDescription
A description of the query parameter that explains its purpose or expected values.- See Also:
-
getName
The name of the query parameter.A query parameter name must start with a letter or underscore, and contain only letters, digits, and underscores.
- See Also:
-
builder
-