NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $iot = Paws->service('IoT');
my $CreateScheduledAuditResponse = $iot->CreateScheduledAudit(
  Frequency          => 'DAILY',
  ScheduledAuditName => 'MyScheduledAuditName',
  TargetCheckNames   => [ 'MyAuditCheckName', ... ],
  DayOfMonth         => 'MyDayOfMonth',                # OPTIONAL
  DayOfWeek          => 'SUN',                         # OPTIONAL
  Tags               => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # min: 1, max: 256; OPTIONAL
    },
    ...
  ],    # OPTIONAL
);

# Results:
my $ScheduledAuditArn = $CreateScheduledAuditResponse->ScheduledAuditArn;

# Returns a L<Paws::IoT::CreateScheduledAuditResponse> 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/CreateScheduledAudit

ATTRIBUTES

DayOfMonth => Str

The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST day of the month.

DayOfWeek => Str

The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.

Valid values are: "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"

REQUIRED Frequency => Str

How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.

Valid values are: "DAILY", "WEEKLY", "BIWEEKLY", "MONTHLY"

REQUIRED ScheduledAuditName => Str

The name you want to give to the scheduled audit. (Max. 128 chars)

Tags => ArrayRef[Paws::IoT::Tag]

Metadata that can be used to manage the scheduled audit.

REQUIRED TargetCheckNames => ArrayRef[Str|Undef]

Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateScheduledAudit 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