NAME

Paws::IoT::ValidateSecurityProfileBehaviors - Arguments for method ValidateSecurityProfileBehaviors on Paws::IoT

DESCRIPTION

This class represents the parameters used for calling the method ValidateSecurityProfileBehaviors on the AWS IoT service. Use the attributes of this class as arguments to method ValidateSecurityProfileBehaviors.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ValidateSecurityProfileBehaviors.

SYNOPSIS

my $iot = Paws->service('IoT');
my $ValidateSecurityProfileBehaviorsResponse =
  $iot->ValidateSecurityProfileBehaviors(
  Behaviors => [
    {
      Name     => 'MyBehaviorName',    # min: 1, max: 128
      Criteria => {
        ComparisonOperator => 'less-than'
        , # values: 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; OPTIONAL
        ConsecutiveDatapointsToAlarm => 1,    # min: 1, max: 10; OPTIONAL
        ConsecutiveDatapointsToClear => 1,    # min: 1, max: 10; OPTIONAL
        DurationSeconds              => 1,    # OPTIONAL
        MlDetectionConfig            => {
          ConfidenceLevel => 'LOW',           # values: LOW, MEDIUM, HIGH

        },    # OPTIONAL
        StatisticalThreshold => {
          Statistic => 'MyEvaluationStatistic',    # OPTIONAL
        },    # OPTIONAL
        Value => {
          Cidrs => [
            'MyCidr', ...    # min: 2, max: 43
          ],    # OPTIONAL
          Count   => 1,    # OPTIONAL
          Number  => 1,    # OPTIONAL
          Numbers => [
            1, ...         # OPTIONAL
          ],    # OPTIONAL
          Ports => [
            1, ...    # max: 65535
          ],    # OPTIONAL
          Strings => [ 'MystringValue', ... ],    # OPTIONAL
        },    # OPTIONAL
      },    # OPTIONAL
      Metric          => 'MyBehaviorMetric',    # OPTIONAL
      MetricDimension => {
        DimensionName => 'MyDimensionName',   # min: 1, max: 128
        Operator      => 'IN',                # values: IN, NOT_IN; OPTIONAL
      },    # OPTIONAL
      SuppressAlerts => 1,    # OPTIONAL
    },
    ...
  ],

  );

# Results:
my $Valid = $ValidateSecurityProfileBehaviorsResponse->Valid;
my $ValidationErrors =
  $ValidateSecurityProfileBehaviorsResponse->ValidationErrors;

# Returns a L<Paws::IoT::ValidateSecurityProfileBehaviorsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/iot/ValidateSecurityProfileBehaviors

ATTRIBUTES

REQUIRED Behaviors => ArrayRef[Paws::IoT::Behavior]

Specifies the behaviors that, when violated by a device (thing), cause an alert.

SEE ALSO

This class forms part of Paws, documenting arguments for method ValidateSecurityProfileBehaviors in Paws::IoT

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues