The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::SSM::CreateMaintenanceWindow - Arguments for method CreateMaintenanceWindow on Paws::SSM

DESCRIPTION

This class represents the parameters used for calling the method CreateMaintenanceWindow on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method CreateMaintenanceWindow.

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

SYNOPSIS

    my $ssm = Paws->service('SSM');
    my $CreateMaintenanceWindowResult = $ssm->CreateMaintenanceWindow(
      AllowUnassociatedTargets => 1,
      Cutoff                   => 1,
      Duration                 => 1,
      Name                     => 'MyMaintenanceWindowName',
      Schedule                 => 'MyMaintenanceWindowSchedule',
      ClientToken              => 'MyClientToken',                    # OPTIONAL
      Description              => 'MyMaintenanceWindowDescription',   # OPTIONAL
      EndDate          => 'MyMaintenanceWindowStringDateTime',        # OPTIONAL
      ScheduleTimezone => 'MyMaintenanceWindowTimezone',              # OPTIONAL
      StartDate        => 'MyMaintenanceWindowStringDateTime',        # OPTIONAL
    );

    # Results:
    my $WindowId = $CreateMaintenanceWindowResult->WindowId;

    # Returns a L<Paws::SSM::CreateMaintenanceWindowResult> 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/ssm/CreateMaintenanceWindow

ATTRIBUTES

REQUIRED AllowUnassociatedTargets => Bool

Enables a Maintenance Window task to execute on managed instances, even if you have not registered those instances as targets. If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the Maintenance Window

If you don't enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.

ClientToken => Str

User-provided idempotency token.

REQUIRED Cutoff => Int

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

Description => Str

An optional description for the Maintenance Window. We recommend specifying a description to help you organize your Maintenance Windows.

REQUIRED Duration => Int

The duration of the Maintenance Window in hours.

EndDate => Str

The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become inactive. EndDate allows you to set a date and time in the future when the Maintenance Window will no longer run.

REQUIRED Name => Str

The name of the Maintenance Window.

REQUIRED Schedule => Str

The schedule of the Maintenance Window in the form of a cron or rate expression.

ScheduleTimezone => Str

The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "etc/UTC", or "Asia/Seoul". For more information, see the Time Zone Database (https://www.iana.org/time-zones) on the IANA website.

StartDate => Str

The date and time, in ISO-8601 Extended format, for when you want the Maintenance Window to become active. StartDate allows you to delay activation of the Maintenance Window until the specified future date.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateMaintenanceWindow in Paws::SSM

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