1. Packages
  2. AWS Native
  3. API Docs
  4. logs
  5. getLogAnomalyDetector

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 logo

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:

    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomaly_detector_arn str
    ARN of LogAnomalyDetector
    anomalyDetectorArn String
    ARN of LogAnomalyDetector

    getLogAnomalyDetector Result

    The following output properties are available:

    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorStatus string
    Current status of detector.
    AnomalyVisibilityTime double
    CreationTimeStamp double
    When detector was created.
    DetectorName string
    Name of detector
    EvaluationFrequency Pulumi.AwsNative.Logs.LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    FilterPattern string
    KmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    LastModifiedTimeStamp double
    When detector was lsat modified.
    LogGroupArnList List<string>
    List of Arns for the given log group
    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorStatus string
    Current status of detector.
    AnomalyVisibilityTime float64
    CreationTimeStamp float64
    When detector was created.
    DetectorName string
    Name of detector
    EvaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    FilterPattern string
    KmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    LastModifiedTimeStamp float64
    When detector was lsat modified.
    LogGroupArnList []string
    List of Arns for the given log group
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorStatus String
    Current status of detector.
    anomalyVisibilityTime Double
    creationTimeStamp Double
    When detector was created.
    detectorName String
    Name of detector
    evaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filterPattern String
    kmsKeyId String
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp Double
    When detector was lsat modified.
    logGroupArnList List<String>
    List of Arns for the given log group
    anomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomalyDetectorStatus string
    Current status of detector.
    anomalyVisibilityTime number
    creationTimeStamp number
    When detector was created.
    detectorName string
    Name of detector
    evaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filterPattern string
    kmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp number
    When detector was lsat modified.
    logGroupArnList string[]
    List of Arns for the given log group
    anomaly_detector_arn str
    ARN of LogAnomalyDetector
    anomaly_detector_status str
    Current status of detector.
    anomaly_visibility_time float
    creation_time_stamp float
    When detector was created.
    detector_name str
    Name of detector
    evaluation_frequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filter_pattern str
    kms_key_id str
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    last_modified_time_stamp float
    When detector was lsat modified.
    log_group_arn_list Sequence[str]
    List of Arns for the given log group
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorStatus String
    Current status of detector.
    anomalyVisibilityTime Number
    creationTimeStamp Number
    When detector was created.
    detectorName String
    Name of detector
    evaluationFrequency "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR"
    How often log group is evaluated
    filterPattern String
    kmsKeyId String
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp Number
    When detector was lsat modified.
    logGroupArnList List<String>
    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 logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi