# CfnResourceSpecificLoggingProps

Properties for defining a `CfnResourceSpecificLogging`.

Used as props by: [CfnResourceSpecificLogging](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnResourceSpecificLogging.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnResourceSpecificLoggingProps: iot.CfnResourceSpecificLoggingProps = {
  logLevel: 'logLevel',
  targetName: 'targetName',
  targetType: 'targetType',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

cfn_resource_specific_logging_props = iot.CfnResourceSpecificLoggingProps(
    log_level="logLevel",
    target_name="targetName",
    target_type="targetType"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;

CfnResourceSpecificLoggingProps cfnResourceSpecificLoggingProps = CfnResourceSpecificLoggingProps.builder()
        .logLevel("logLevel")
        .targetName("targetName")
        .targetType("targetType")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;

var cfnResourceSpecificLoggingProps = new CfnResourceSpecificLoggingProps {
    LogLevel = "logLevel",
    TargetName = "targetName",
    TargetType = "targetType"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnResourceSpecificLoggingProps := &CfnResourceSpecificLoggingProps{
	LogLevel: jsii.String("logLevel"),
	TargetName: jsii.String("targetName"),
	TargetType: jsii.String("targetType"),
}
```

## Properties

- `logLevel`: string (required) — The default log level.Valid Values: `DEBUG | INFO | ERROR | WARN | DISABLED`.

- `targetName`: string (required) — The target name.

- `targetType`: string (required) — The target type.

  Valid Values: `DEFAULT | THING_GROUP`
