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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.iot.ResourceSpecificLogging

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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 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.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, 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
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi