class Aws::IoT::Types::UpdateSecurityProfileRequest
@return [Integer]
‘VersionConflictException` is thrown.
value that is different from the actual version, a
generated whenever the security profile is updated. If you specify a
The expected version of the security profile. A new version is
@!attribute [rw] expected_version
@return [Boolean]
the current invocation, an exception occurs.
security profile. If any `additionalMetricsToRetain` are defined in
If true, delete all `additionalMetricsToRetain` defined for this
@!attribute [rw] delete_additional_metrics_to_retain
@return [Boolean]
invocation, an exception occurs.
profile. If any `alertTargets` are defined in the current
If true, delete all `alertTargets` defined for this security
@!attribute [rw] delete_alert_targets
@return [Boolean]
exception occurs.
If any `behaviors` are defined in the current invocation, an
If true, delete all `behaviors` defined for this security profile.
@!attribute [rw] delete_behaviors
@return [Array<String>]
it is also retained for any metric specified here.
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
@return [Hash<String,Types::AlertTarget>]
Where the alerts are sent. (Alerts are always sent to the console.)
@!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 of the security profile you want to update.
@!attribute [rw] security_profile_name
}
expected_version: 1,
delete_additional_metrics_to_retain: false,
delete_alert_targets: false,
delete_behaviors: false,
additional_metrics_to_retain: [“BehaviorMetric”],
},
},
role_arn: “RoleArn”, # required
alert_target_arn: “AlertTargetArn”, # required
“SNS” => {
alert_targets: {
],
},
},
},
statistic: “EvaluationStatistic”,
statistical_threshold: {
consecutive_datapoints_to_clear: 1,
consecutive_datapoints_to_alarm: 1,
duration_seconds: 1,
},
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
criteria: {
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 UpdateSecurityProfileRequest