---
type: resource-type
title: IoTSecurityProfile
description: aws resource type AWS::IoT::SecurityProfile
name: IoTSecurityProfile
lexicon: aws
resource_type: AWS::IoT::SecurityProfile
---
`AWS::IoT::SecurityProfile`, a resource type of the aws lexicon.

## Properties

- `AdditionalMetricsToRetainV2` (`IoTSecurityProfile_MetricToRetain[]`, optional): A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- `AlertTargets` (`Record<string, unknown>`, optional): Specifies the destinations to which alerts are sent.
- `Behaviors` (`IoTSecurityProfile_Behavior[]`, optional): Specifies the behaviors that, when violated by a device (thing), cause an alert.
- `MetricsExportConfig` (`Record<string, unknown>`, optional): A structure containing the mqtt topic for metrics export.
- `SecurityProfileArn` (`string`, optional): The ARN (Amazon resource name) of the created security profile.
- `SecurityProfileDescription` (`string`, optional): A description of the security profile.
- `SecurityProfileName` (`string`, optional): A unique identifier for the security profile.
- `Tags` (`IoTSecurityProfile_Tag[]`, optional): Metadata that can be used to manage the security profile.
- `TargetArns` (`string[]`, optional): A set of target ARNs that the security profile is attached to.

## Attributes

- `SecurityProfileArn`
