AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getLogging

Logging Options enable you to configure your IoT V2 logging role and default logging level so that you can monitor progress events logs as it passes from your devices through Iot core service.

Using getLogging

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 getLogging(args: GetLoggingArgs, opts?: InvokeOptions): Promise<GetLoggingResult>
function getLoggingOutput(args: GetLoggingOutputArgs, opts?: InvokeOptions): Output<GetLoggingResult>
def get_logging(account_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetLoggingResult
def get_logging_output(account_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetLoggingResult]
func LookupLogging(ctx *Context, args *LookupLoggingArgs, opts ...InvokeOption) (*LookupLoggingResult, error)
func LookupLoggingOutput(ctx *Context, args *LookupLoggingOutputArgs, opts ...InvokeOption) LookupLoggingResultOutput

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

public static class GetLogging 
{
    public static Task<GetLoggingResult> InvokeAsync(GetLoggingArgs args, InvokeOptions? opts = null)
    public static Output<GetLoggingResult> Invoke(GetLoggingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLoggingResult> getLogging(GetLoggingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:iot:getLogging
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AccountId string

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

AccountId string

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

accountId String

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

accountId string

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

account_id str

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

accountId String

Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).

getLogging Result

The following output properties are available:

DefaultLogLevel Pulumi.AwsNative.IoT.LoggingDefaultLogLevel

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

RoleArn string

The ARN of the role that allows IoT to write to Cloudwatch logs.

DefaultLogLevel LoggingDefaultLogLevel

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

RoleArn string

The ARN of the role that allows IoT to write to Cloudwatch logs.

defaultLogLevel LoggingDefaultLogLevel

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

roleArn String

The ARN of the role that allows IoT to write to Cloudwatch logs.

defaultLogLevel LoggingDefaultLogLevel

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

roleArn string

The ARN of the role that allows IoT to write to Cloudwatch logs.

default_log_level LoggingDefaultLogLevel

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

role_arn str

The ARN of the role that allows IoT to write to Cloudwatch logs.

defaultLogLevel "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"

The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

roleArn String

The ARN of the role that allows IoT to write to Cloudwatch logs.

Supporting Types

LoggingDefaultLogLevel

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0