CfnQueryDefinitionProps

class aws_cdk.aws_logs.CfnQueryDefinitionProps(*, name, query_string, log_group_names=None)

Bases: object

Properties for defining a AWS::Logs::QueryDefinition.

Parameters
  • name (str) – AWS::Logs::QueryDefinition.Name.

  • query_string (str) – AWS::Logs::QueryDefinition.QueryString.

  • log_group_names (Optional[Sequence[str]]) – AWS::Logs::QueryDefinition.LogGroupNames.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html

Attributes

log_group_names

AWS::Logs::QueryDefinition.LogGroupNames.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-loggroupnames

Return type

Optional[List[str]]

name

AWS::Logs::QueryDefinition.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-name

Return type

str

query_string

AWS::Logs::QueryDefinition.QueryString.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-querystring

Return type

str