class Aws::IoT::Types::CreateSecurityProfileRequest
@return [Array<Types::Tag>]
Metadata that can be used to manage the security profile.
@!attribute [rw] tags
@return [Array<Types::MetricToRetain>]
custom metrics; cannot be used with dimensions.
it is also retained for any metric specified here. Can be used with
is retained for any metric used in the profile’s ‘behaviors`, but
A list of metrics whose data is retained (stored). By default, data
@!attribute [rw] additional_metrics_to_retain_v2
@return [Array<String>]
custom metrics; cannot be used with dimensions.
it is also retained for any metric specified here. Can be used with
is retained for any metric used in the profile’s ‘behaviors`, but
A list of metrics whose data is retained (stored). By default, data
instead.*
*Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
@!attribute [rw] additional_metrics_to_retain
@return [Hash<String,Types::AlertTarget>]
(thing) violates a behavior.
always sent to the console.) Alerts are generated when a device
Specifies the destinations to which alerts are sent. (Alerts are
@!attribute [rw] alert_targets
@return [Array<Types::Behavior>]
cause an alert.
Specifies the behaviors that, when violated by a device (thing),
@!attribute [rw] behaviors
@return [String]
A description of the security profile.
@!attribute [rw] security_profile_description
@return [String]
The name you are giving to the security profile.
@!attribute [rw] security_profile_name
}
],
},
value: “TagValue”,
key: “TagKey”, # required
{
tags: [
],
},
},
operator: “IN”, # accepts IN, NOT_IN
dimension_name: “DimensionName”, # required
metric_dimension: {
metric: “BehaviorMetric”, # required
{
additional_metrics_to_retain_v2: [
additional_metrics_to_retain: [“BehaviorMetric”],
},
},
role_arn: “RoleArn”, # required
alert_target_arn: “AlertTargetArn”, # required
“SNS” => {
alert_targets: {
],
},
suppress_alerts: false,
},
},
confidence_level: “LOW”, # required, accepts LOW, MEDIUM, HIGH
ml_detection_config: {
},
statistic: “EvaluationStatistic”,
statistical_threshold: {
consecutive_datapoints_to_clear: 1,
consecutive_datapoints_to_alarm: 1,
duration_seconds: 1,
},
strings: [“stringValue”],
numbers: [1.0],
number: 1.0,
ports: [1],
cidrs: [“Cidr”],
count: 1,
value: {
comparison_operator: “less-than”, # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set, in-set, not-in-set
criteria: {
},
operator: “IN”, # accepts IN, NOT_IN
dimension_name: “DimensionName”, # required
metric_dimension: {
metric: “BehaviorMetric”,
name: “BehaviorName”, # required
{
behaviors: [
security_profile_description: “SecurityProfileDescription”,
security_profile_name: “SecurityProfileName”, # required
{
data as a hash:
@note When making an API call, you may pass CreateSecurityProfileRequest