We recommend new projects start with resources from the AWS provider.
aws-native.iot.ResourceSpecificLogging
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args ResourceSpecificLoggingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ResourceSpecificLoggingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceSpecificLoggingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 Pulumi.Aws Native. Io T. Resource Specific Logging Log Level 
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- TargetName string
- The target name.
- TargetType Pulumi.Aws Native. Io T. Resource Specific Logging Target Type 
- The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- LogLevel ResourceSpecific Logging Log Level 
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- TargetName string
- The target name.
- TargetType ResourceSpecific Logging Target Type 
- The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- logLevel ResourceSpecific Logging Log Level 
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- targetName String
- The target name.
- targetType ResourceSpecific Logging Target Type 
- The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- logLevel ResourceSpecific Logging Log Level 
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- targetName string
- The target name.
- targetType ResourceSpecific Logging Target Type 
- The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- log_level ResourceSpecific Logging Log Level 
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- target_name str
- The target name.
- target_type ResourceSpecific Logging Target Type 
- The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- logLevel "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED"
- The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- targetName String
- The target name.
- targetType "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:
Supporting Types
ResourceSpecificLoggingLogLevel, ResourceSpecificLoggingLogLevelArgs          
- Error
- ERROR
- Warn
- WARN
- Info
- INFO
- Debug
- DEBUG
- Disabled
- DISABLED
- ResourceSpecific Logging Log Level Error 
- ERROR
- ResourceSpecific Logging Log Level Warn 
- WARN
- ResourceSpecific Logging Log Level Info 
- INFO
- ResourceSpecific Logging Log Level Debug 
- DEBUG
- ResourceSpecific Logging Log Level 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
- "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
- ResourceSpecific Logging Target Type Thing Group 
- THING_GROUP
- ResourceSpecific Logging Target Type Client Id 
- CLIENT_ID
- ResourceSpecific Logging Target Type Source Ip 
- SOURCE_IP
- ResourceSpecific Logging Target Type Principal Id 
- PRINCIPAL_ID
- ResourceSpecific Logging Target Type Event Type 
- 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.