aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.iot.ResourceSpecificLogging

Explore with Pulumi AI

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

Create ResourceSpecificLogging Resource

new ResourceSpecificLogging(name: string, args: ResourceSpecificLoggingArgs, opts?: CustomResourceOptions);
@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)
@overload
def ResourceSpecificLogging(resource_name: str,
                            args: ResourceSpecificLoggingArgs,
                            opts: Optional[ResourceOptions] = 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.

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:

LogLevel Pulumi.AwsNative.IoT.ResourceSpecificLoggingLogLevel

The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

TargetName string

The target name.

TargetType Pulumi.AwsNative.IoT.ResourceSpecificLoggingTargetType

The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.

LogLevel ResourceSpecificLoggingLogLevel

The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

TargetName string

The target name.

TargetType ResourceSpecificLoggingTargetType

The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.

logLevel ResourceSpecificLoggingLogLevel

The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

targetName String

The target name.

targetType ResourceSpecificLoggingTargetType

The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.

logLevel ResourceSpecificLoggingLogLevel

The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

targetName string

The target name.

targetType ResourceSpecificLoggingTargetType

The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.

log_level ResourceSpecificLoggingLogLevel

The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.

target_name str

The target name.

target_type ResourceSpecificLoggingTargetType

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:

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

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

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