CfnResourceSpecificLoggingProps Struct
Properties for defining a CfnResourceSpecificLogging.
Example
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
# 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
// 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();
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"
};
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
The default log level.Valid Values: `DEBUG | INFO | ERROR | WARN | DISABLED`.
The target name.
The target type.
Valid Values: DEFAULT | THING_GROUP