We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.logs.getQueryDefinition
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
The resource schema for AWSLogs QueryDefinition
Using getQueryDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getQueryDefinition(args: GetQueryDefinitionArgs, opts?: InvokeOptions): Promise<GetQueryDefinitionResult>
function getQueryDefinitionOutput(args: GetQueryDefinitionOutputArgs, opts?: InvokeOptions): Output<GetQueryDefinitionResult>
def get_query_definition(query_definition_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQueryDefinitionResult
def get_query_definition_output(query_definition_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQueryDefinitionResult]
func LookupQueryDefinition(ctx *Context, args *LookupQueryDefinitionArgs, opts ...InvokeOption) (*LookupQueryDefinitionResult, error)
func LookupQueryDefinitionOutput(ctx *Context, args *LookupQueryDefinitionOutputArgs, opts ...InvokeOption) LookupQueryDefinitionResultOutput
> Note: This function is named LookupQueryDefinition
in the Go SDK.
public static class GetQueryDefinition
{
public static Task<GetQueryDefinitionResult> InvokeAsync(GetQueryDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetQueryDefinitionResult> Invoke(GetQueryDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetQueryDefinitionResult> getQueryDefinition(GetQueryDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:logs:getQueryDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Query
Definition stringId - Unique identifier of a query definition
- Query
Definition stringId - Unique identifier of a query definition
- query
Definition StringId - Unique identifier of a query definition
- query
Definition stringId - Unique identifier of a query definition
- query_
definition_ strid - Unique identifier of a query definition
- query
Definition StringId - Unique identifier of a query definition
getQueryDefinition Result
The following output properties are available:
- Log
Group List<string>Names - Optionally define specific log groups as part of your query definition
- Name string
- A name for the saved query definition
- Query
Definition stringId - Unique identifier of a query definition
- Query
String string - The query string to use for this definition
- Log
Group []stringNames - Optionally define specific log groups as part of your query definition
- Name string
- A name for the saved query definition
- Query
Definition stringId - Unique identifier of a query definition
- Query
String string - The query string to use for this definition
- log
Group List<String>Names - Optionally define specific log groups as part of your query definition
- name String
- A name for the saved query definition
- query
Definition StringId - Unique identifier of a query definition
- query
String String - The query string to use for this definition
- log
Group string[]Names - Optionally define specific log groups as part of your query definition
- name string
- A name for the saved query definition
- query
Definition stringId - Unique identifier of a query definition
- query
String string - The query string to use for this definition
- log_
group_ Sequence[str]names - Optionally define specific log groups as part of your query definition
- name str
- A name for the saved query definition
- query_
definition_ strid - Unique identifier of a query definition
- query_
string str - The query string to use for this definition
- log
Group List<String>Names - Optionally define specific log groups as part of your query definition
- name String
- A name for the saved query definition
- query
Definition StringId - Unique identifier of a query definition
- query
String String - The query string to use for this definition
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi