1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. iot
  6. getResourceSpecificLogging

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

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOutputOptions] = 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 Output<GetResourceSpecificLoggingResult> Invoke(GetResourceSpecificLoggingInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetResourceSpecificLoggingResult> getResourceSpecificLogging(GetResourceSpecificLoggingArgs args, InvokeOptions options)
    public static Output<GetResourceSpecificLoggingResult> getResourceSpecificLogging(GetResourceSpecificLoggingArgs args, InvokeOptions options)
    public static Output<GetResourceSpecificLoggingResult> getResourceSpecificLogging(GetResourceSpecificLoggingArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:iot:getResourceSpecificLogging
      arguments:
        # arguments dictionary
    data "aws-native_iot_get_resource_specific_logging" "name" {
        # arguments
    }

    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.
    target_id 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.
    log_level "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"
    The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
    target_id 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

    NameValue
    ErrorERROR
    WarnWARN
    InfoINFO
    DebugDEBUG
    DisabledDISABLED
    NameValue
    ResourceSpecificLoggingLogLevelErrorERROR
    ResourceSpecificLoggingLogLevelWarnWARN
    ResourceSpecificLoggingLogLevelInfoINFO
    ResourceSpecificLoggingLogLevelDebugDEBUG
    ResourceSpecificLoggingLogLevelDisabledDISABLED
    Value
    ERROR
    WARN
    INFO
    DEBUG
    DISABLED
    NameValue
    ErrorERROR
    WarnWARN
    InfoINFO
    DebugDEBUG
    DisabledDISABLED
    NameValue
    ErrorERROR
    WarnWARN
    InfoINFO
    DebugDEBUG
    DisabledDISABLED
    NameValue
    ERRORERROR
    WARNWARN
    INFOINFO
    DEBUGDEBUG
    DISABLEDDISABLED
    Value
    ERROR
    WARN
    INFO
    DEBUG
    DISABLED

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial