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
The ResourceSpecificLogging resource accepts the following input properties:
- Log
Level 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.
- Target
Name string - The target name.
- Target
Type 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.
- Log
Level ResourceSpecific Logging Log Level - The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- Target
Name string - 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.
- log
Level ResourceSpecific Logging Log Level - The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- target
Name String - 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.
- log
Level ResourceSpecific Logging Log Level - The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- target
Name string - 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.
- 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.
- log
Level "ERROR" | "WARN" | "INFO" | "DEBUG" | "DISABLED" - The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- target
Name String - The target name.
- target
Type "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
- Resource
Specific Logging Log Level Error - ERROR
- Resource
Specific Logging Log Level Warn - WARN
- Resource
Specific Logging Log Level Info - INFO
- Resource
Specific Logging Log Level Debug - DEBUG
- Resource
Specific 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
- Thing
Group - THING_GROUP
- Client
Id - CLIENT_ID
- Source
Ip - SOURCE_IP
- Principal
Id - PRINCIPAL_ID
- Event
Type - EVENT_TYPE
- Resource
Specific Logging Target Type Thing Group - THING_GROUP
- Resource
Specific Logging Target Type Client Id - CLIENT_ID
- Resource
Specific Logging Target Type Source Ip - SOURCE_IP
- Resource
Specific Logging Target Type Principal Id - PRINCIPAL_ID
- Resource
Specific Logging Target Type Event Type - 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
- 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.