AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.logs.getLogAnomalyDetector
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.
Using getLogAnomalyDetector
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 getLogAnomalyDetector(args: GetLogAnomalyDetectorArgs, opts?: InvokeOptions): Promise<GetLogAnomalyDetectorResult>
function getLogAnomalyDetectorOutput(args: GetLogAnomalyDetectorOutputArgs, opts?: InvokeOptions): Output<GetLogAnomalyDetectorResult>
def get_log_anomaly_detector(anomaly_detector_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogAnomalyDetectorResult
def get_log_anomaly_detector_output(anomaly_detector_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogAnomalyDetectorResult]
func LookupLogAnomalyDetector(ctx *Context, args *LookupLogAnomalyDetectorArgs, opts ...InvokeOption) (*LookupLogAnomalyDetectorResult, error)
func LookupLogAnomalyDetectorOutput(ctx *Context, args *LookupLogAnomalyDetectorOutputArgs, opts ...InvokeOption) LookupLogAnomalyDetectorResultOutput
> Note: This function is named LookupLogAnomalyDetector
in the Go SDK.
public static class GetLogAnomalyDetector
{
public static Task<GetLogAnomalyDetectorResult> InvokeAsync(GetLogAnomalyDetectorArgs args, InvokeOptions? opts = null)
public static Output<GetLogAnomalyDetectorResult> Invoke(GetLogAnomalyDetectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogAnomalyDetectorResult> getLogAnomalyDetector(GetLogAnomalyDetectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:logs:getLogAnomalyDetector
arguments:
# arguments dictionary
The following arguments are supported:
- Anomaly
Detector stringArn - ARN of LogAnomalyDetector
- Anomaly
Detector stringArn - ARN of LogAnomalyDetector
- anomaly
Detector StringArn - ARN of LogAnomalyDetector
- anomaly
Detector stringArn - ARN of LogAnomalyDetector
- anomaly_
detector_ strarn - ARN of LogAnomalyDetector
- anomaly
Detector StringArn - ARN of LogAnomalyDetector
getLogAnomalyDetector Result
The following output properties are available:
- Anomaly
Detector stringArn - ARN of LogAnomalyDetector
- Anomaly
Detector stringStatus - Current status of detector.
- Anomaly
Visibility doubleTime - Creation
Time doubleStamp - When detector was created.
- Detector
Name string - Name of detector
- Evaluation
Frequency Pulumi.Aws Native. Logs. Log Anomaly Detector Evaluation Frequency - How often log group is evaluated
- Filter
Pattern string - Kms
Key stringId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- Last
Modified doubleTime Stamp - When detector was lsat modified.
- Log
Group List<string>Arn List - List of Arns for the given log group
- Anomaly
Detector stringArn - ARN of LogAnomalyDetector
- Anomaly
Detector stringStatus - Current status of detector.
- Anomaly
Visibility float64Time - Creation
Time float64Stamp - When detector was created.
- Detector
Name string - Name of detector
- Evaluation
Frequency LogAnomaly Detector Evaluation Frequency - How often log group is evaluated
- Filter
Pattern string - Kms
Key stringId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- Last
Modified float64Time Stamp - When detector was lsat modified.
- Log
Group []stringArn List - List of Arns for the given log group
- anomaly
Detector StringArn - ARN of LogAnomalyDetector
- anomaly
Detector StringStatus - Current status of detector.
- anomaly
Visibility DoubleTime - creation
Time DoubleStamp - When detector was created.
- detector
Name String - Name of detector
- evaluation
Frequency LogAnomaly Detector Evaluation Frequency - How often log group is evaluated
- filter
Pattern String - kms
Key StringId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- last
Modified DoubleTime Stamp - When detector was lsat modified.
- log
Group List<String>Arn List - List of Arns for the given log group
- anomaly
Detector stringArn - ARN of LogAnomalyDetector
- anomaly
Detector stringStatus - Current status of detector.
- anomaly
Visibility numberTime - creation
Time numberStamp - When detector was created.
- detector
Name string - Name of detector
- evaluation
Frequency LogAnomaly Detector Evaluation Frequency - How often log group is evaluated
- filter
Pattern string - kms
Key stringId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- last
Modified numberTime Stamp - When detector was lsat modified.
- log
Group string[]Arn List - List of Arns for the given log group
- anomaly_
detector_ strarn - ARN of LogAnomalyDetector
- anomaly_
detector_ strstatus - Current status of detector.
- anomaly_
visibility_ floattime - creation_
time_ floatstamp - When detector was created.
- detector_
name str - Name of detector
- evaluation_
frequency LogAnomaly Detector Evaluation Frequency - How often log group is evaluated
- filter_
pattern str - kms_
key_ strid - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- last_
modified_ floattime_ stamp - When detector was lsat modified.
- log_
group_ Sequence[str]arn_ list - List of Arns for the given log group
- anomaly
Detector StringArn - ARN of LogAnomalyDetector
- anomaly
Detector StringStatus - Current status of detector.
- anomaly
Visibility NumberTime - creation
Time NumberStamp - When detector was created.
- detector
Name String - Name of detector
- evaluation
Frequency "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR" - How often log group is evaluated
- filter
Pattern String - kms
Key StringId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
- last
Modified NumberTime Stamp - When detector was lsat modified.
- log
Group List<String>Arn List - List of Arns for the given log group
Supporting Types
LogAnomalyDetectorEvaluationFrequency
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi