1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iot
  5. ResourceSpecificLogging

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.iot.ResourceSpecificLogging

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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

Create ResourceSpecificLogging Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ResourceSpecificLogging(name: string, args: ResourceSpecificLoggingArgs, opts?: CustomResourceOptions);
@overload
def ResourceSpecificLogging(resource_name: str,
                            args: ResourceSpecificLoggingArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def ResourceSpecificLogging(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            log_level: Optional[ResourceSpecificLoggingLogLevel] = None,
                            target_name: Optional[str] = None,
                            target_type: Optional[ResourceSpecificLoggingTargetType] = None)
func NewResourceSpecificLogging(ctx *Context, name string, args ResourceSpecificLoggingArgs, opts ...ResourceOption) (*ResourceSpecificLogging, error)
public ResourceSpecificLogging(string name, ResourceSpecificLoggingArgs args, CustomResourceOptions? opts = null)
public ResourceSpecificLogging(String name, ResourceSpecificLoggingArgs args)
public ResourceSpecificLogging(String name, ResourceSpecificLoggingArgs args, CustomResourceOptions options)
type: aws-native:iot:ResourceSpecificLogging
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ResourceSpecificLoggingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ResourceSpecificLoggingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ResourceSpecificLoggingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ResourceSpecificLoggingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ResourceSpecificLoggingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ResourceSpecificLogging Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ResourceSpecificLogging resource accepts the following input properties:

LogLevel This property is required. Pulumi.AwsNative.IoT.ResourceSpecificLoggingLogLevel
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
TargetName This property is required. string
The target name.
TargetType This property is required. Pulumi.AwsNative.IoT.ResourceSpecificLoggingTargetType
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
LogLevel This property is required. ResourceSpecificLoggingLogLevel
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
TargetName This property is required. string
The target name.
TargetType This property is required. ResourceSpecificLoggingTargetType
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
logLevel This property is required. ResourceSpecificLoggingLogLevel
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
targetName This property is required. String
The target name.
targetType This property is required. ResourceSpecificLoggingTargetType
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
logLevel This property is required. ResourceSpecificLoggingLogLevel
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
targetName This property is required. string
The target name.
targetType This property is required. ResourceSpecificLoggingTargetType
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
log_level This property is required. ResourceSpecificLoggingLogLevel
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
target_name This property is required. str
The target name.
target_type This property is required. ResourceSpecificLoggingTargetType
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
logLevel This property is required. "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"
The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
targetName This property is required. String
The target name.
targetType This property is required. "THING_GROUP" | "CLIENT_ID" | "SOURCE_IP" | "PRINCIPAL_ID" | "EVENT_TYPE"
The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourceSpecificLogging resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
TargetId string
Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
Id string
The provider-assigned unique ID for this managed resource.
TargetId string
Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
id String
The provider-assigned unique ID for this managed resource.
targetId String
Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
id string
The provider-assigned unique ID for this managed resource.
targetId string
Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
id str
The provider-assigned unique ID for this managed resource.
target_id str
Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
id String
The provider-assigned unique ID for this managed resource.
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
, ResourceSpecificLoggingLogLevelArgs

Error
ERROR
Warn
WARN
Info
INFO
Debug
DEBUG
Disabled
DISABLED
ResourceSpecificLoggingLogLevelError
ERROR
ResourceSpecificLoggingLogLevelWarn
WARN
ResourceSpecificLoggingLogLevelInfo
INFO
ResourceSpecificLoggingLogLevelDebug
DEBUG
ResourceSpecificLoggingLogLevelDisabled
DISABLED
Error
ERROR
Warn
WARN
Info
INFO
Debug
DEBUG
Disabled
DISABLED
Error
ERROR
Warn
WARN
Info
INFO
Debug
DEBUG
Disabled
DISABLED
ERROR
ERROR
WARN
WARN
INFO
INFO
DEBUG
DEBUG
DISABLED
DISABLED
"ERROR"
ERROR
"WARN"
WARN
"INFO"
INFO
"DEBUG"
DEBUG
"DISABLED"
DISABLED

ResourceSpecificLoggingTargetType
, ResourceSpecificLoggingTargetTypeArgs

ThingGroup
THING_GROUP
ClientId
CLIENT_ID
SourceIp
SOURCE_IP
PrincipalId
PRINCIPAL_ID
EventType
EVENT_TYPE
ResourceSpecificLoggingTargetTypeThingGroup
THING_GROUP
ResourceSpecificLoggingTargetTypeClientId
CLIENT_ID
ResourceSpecificLoggingTargetTypeSourceIp
SOURCE_IP
ResourceSpecificLoggingTargetTypePrincipalId
PRINCIPAL_ID
ResourceSpecificLoggingTargetTypeEventType
EVENT_TYPE
ThingGroup
THING_GROUP
ClientId
CLIENT_ID
SourceIp
SOURCE_IP
PrincipalId
PRINCIPAL_ID
EventType
EVENT_TYPE
ThingGroup
THING_GROUP
ClientId
CLIENT_ID
SourceIp
SOURCE_IP
PrincipalId
PRINCIPAL_ID
EventType
EVENT_TYPE
THING_GROUP
THING_GROUP
CLIENT_ID
CLIENT_ID
SOURCE_IP
SOURCE_IP
PRINCIPAL_ID
PRINCIPAL_ID
EVENT_TYPE
EVENT_TYPE
"THING_GROUP"
THING_GROUP
"CLIENT_ID"
CLIENT_ID
"SOURCE_IP"
SOURCE_IP
"PRINCIPAL_ID"
PRINCIPAL_ID
"EVENT_TYPE"
EVENT_TYPE

Package Details

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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi