A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/IoT/Types/UpdateSecurityProfileRequest.html below:

UpdateSecurityProfileRequest — AWS SDK for Ruby V2

When passing UpdateSecurityProfileRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  security_profile_name: "SecurityProfileName",   security_profile_description: "SecurityProfileDescription",
  behaviors: [
    {
      name: "BehaviorName",       metric: "BehaviorMetric",
      metric_dimension: {
        dimension_name: "DimensionName",         operator: "IN",       },
      criteria: {
        comparison_operator: "less-than",         value: {
          count: 1,
          cidrs: ["Cidr"],
          ports: [1],
        },
        duration_seconds: 1,
        consecutive_datapoints_to_alarm: 1,
        consecutive_datapoints_to_clear: 1,
        statistical_threshold: {
          statistic: "EvaluationStatistic",
        },
      },
    },
  ],
  alert_targets: {
    "SNS" => {
      alert_target_arn: "AlertTargetArn",       role_arn: "RoleArn",     },
  },
  additional_metrics_to_retain: ["BehaviorMetric"],
  additional_metrics_to_retain_v2: [
    {
      metric: "BehaviorMetric",       metric_dimension: {
        dimension_name: "DimensionName",         operator: "IN",       },
    },
  ],
  delete_behaviors: false,
  delete_alert_targets: false,
  delete_additional_metrics_to_retain: false,
  expected_version: 1,
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4