We recommend new projects start with resources from the AWS provider.
aws-native.iot.getLogging
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Account
Id string - Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).
- Account
Id string - Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).
- account
Id String - Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).
- account
Id 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).
- account
Id String - Your 12-digit account ID (used as the primary identifier for the CloudFormation resource).
getLogging Result
The following output properties are available:
- Default
Log Pulumi.Level Aws Native. Io T. Logging Default Log Level - The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- Role
Arn string - The ARN of the role that allows IoT to write to Cloudwatch logs.
- Default
Log LoggingLevel Default Log Level - The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- Role
Arn string - The ARN of the role that allows IoT to write to Cloudwatch logs.
- default
Log LoggingLevel Default Log Level - The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- role
Arn String - The ARN of the role that allows IoT to write to Cloudwatch logs.
- default
Log LoggingLevel Default Log Level - The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- role
Arn string - The ARN of the role that allows IoT to write to Cloudwatch logs.
- default_
log_ Logginglevel Default Log Level - 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.
- default
Log "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"Level - The log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- role
Arn String - The ARN of the role that allows IoT to write to Cloudwatch logs.
Supporting Types
LoggingDefaultLogLevel
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.