1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. getResourceSpecificLogging

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.iot.getResourceSpecificLogging

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource-specific logging allows you to specify a logging level for a specific thing group.

    Using getResourceSpecificLogging

    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 getResourceSpecificLogging(args: GetResourceSpecificLoggingArgs, opts?: InvokeOptions): Promise<GetResourceSpecificLoggingResult>
    function getResourceSpecificLoggingOutput(args: GetResourceSpecificLoggingOutputArgs, opts?: InvokeOptions): Output<GetResourceSpecificLoggingResult>
    def get_resource_specific_logging(target_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetResourceSpecificLoggingResult
    def get_resource_specific_logging_output(target_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetResourceSpecificLoggingResult]
    func LookupResourceSpecificLogging(ctx *Context, args *LookupResourceSpecificLoggingArgs, opts ...InvokeOption) (*LookupResourceSpecificLoggingResult, error)
    func LookupResourceSpecificLoggingOutput(ctx *Context, args *LookupResourceSpecificLoggingOutputArgs, opts ...InvokeOption) LookupResourceSpecificLoggingResultOutput

    > Note: This function is named LookupResourceSpecificLogging in the Go SDK.

    public static class GetResourceSpecificLogging 
    {
        public static Task<GetResourceSpecificLoggingResult> InvokeAsync(GetResourceSpecificLoggingArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceSpecificLoggingResult> Invoke(GetResourceSpecificLoggingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceSpecificLoggingResult> getResourceSpecificLogging(GetResourceSpecificLoggingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getResourceSpecificLogging
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TargetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    TargetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    targetId String
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    targetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    target_id str
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    targetId String
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.

    getResourceSpecificLogging Result

    The following output properties are available:

    LogLevel Pulumi.AwsNative.IoT.ResourceSpecificLoggingLogLevel
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    TargetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    LogLevel ResourceSpecificLoggingLogLevel
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    TargetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    logLevel ResourceSpecificLoggingLogLevel
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    targetId String
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    logLevel ResourceSpecificLoggingLogLevel
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    targetId string
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    log_level ResourceSpecificLoggingLogLevel
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    target_id str
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
    logLevel "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    targetId String
    Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.

    Supporting Types

    ResourceSpecificLoggingLogLevel

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi