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.QueryDefinition
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
Create QueryDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QueryDefinition(name: string, args: QueryDefinitionArgs, opts?: CustomResourceOptions);
@overload
def QueryDefinition(resource_name: str,
args: QueryDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QueryDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
query_string: Optional[str] = None,
log_group_names: Optional[Sequence[str]] = None,
name: Optional[str] = None)
func NewQueryDefinition(ctx *Context, name string, args QueryDefinitionArgs, opts ...ResourceOption) (*QueryDefinition, error)
public QueryDefinition(string name, QueryDefinitionArgs args, CustomResourceOptions? opts = null)
public QueryDefinition(String name, QueryDefinitionArgs args)
public QueryDefinition(String name, QueryDefinitionArgs args, CustomResourceOptions options)
type: aws-native:logs:QueryDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args QueryDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args QueryDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args QueryDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QueryDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QueryDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
QueryDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The QueryDefinition resource accepts the following input properties:
- 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
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
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
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_
string str - 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
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
Outputs
All input properties are implicitly available as output properties. Additionally, the QueryDefinition resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Query
Definition stringId - Unique identifier of a query definition
- Id string
- The provider-assigned unique ID for this managed resource.
- Query
Definition stringId - Unique identifier of a query definition
- id String
- The provider-assigned unique ID for this managed resource.
- query
Definition StringId - Unique identifier of a query definition
- id string
- The provider-assigned unique ID for this managed resource.
- query
Definition stringId - Unique identifier of a query definition
- id str
- The provider-assigned unique ID for this managed resource.
- query_
definition_ strid - Unique identifier of a query definition
- id String
- The provider-assigned unique ID for this managed resource.
- query
Definition StringId - Unique identifier of a query 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