AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

MaintenanceWindowIdentity

import "github.com/aws/aws-sdk-go/service/ssm"

type MaintenanceWindowIdentity struct { Cutoff *int64 `type:"integer"` Description *string `min:"1" type:"string" sensitive:"true"` Duration *int64 `min:"1" type:"integer"` Enabled *bool `type:"boolean"` EndDate *string `type:"string"` Name *string `min:"3" type:"string"` NextExecutionTime *string `type:"string"` Schedule *string `min:"1" type:"string"` ScheduleTimezone *string `type:"string"` StartDate *string `type:"string"` WindowId *string `min:"20" type:"string"` }

Information about the Maintenance Window.

Cutoff

Type: *int64

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

Description

Type: *string

A description of the Maintenance Window.

Duration

Type: *int64

The duration of the Maintenance Window in hours.

Enabled

Type: *bool

Whether the Maintenance Window is enabled.

EndDate

Type: *string

The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become inactive.

Name

Type: *string

The name of the Maintenance Window.

NextExecutionTime

Type: *string

The next time the Maintenance Window will actually run, taking into account any specified times for the Maintenance Window to become active or inactive.

Schedule

Type: *string

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

ScheduleTimezone

Type: *string

The time zone that the scheduled Maintenance Window executions are based on, in Internet Assigned Numbers Authority (IANA) format.

StartDate

Type: *string

The date and time, in ISO-8601 Extended format, for when the Maintenance Window is scheduled to become active.

WindowId

Type: *string

The ID of the Maintenance Window.

Method

GoString

func (s MaintenanceWindowIdentity) GoString() string

GoString returns the string representation

SetCutoff

func (s *MaintenanceWindowIdentity) SetCutoff(v int64) *MaintenanceWindowIdentity

SetCutoff sets the Cutoff field's value.

SetDescription

func (s *MaintenanceWindowIdentity) SetDescription(v string) *MaintenanceWindowIdentity

SetDescription sets the Description field's value.

SetDuration

func (s *MaintenanceWindowIdentity) SetDuration(v int64) *MaintenanceWindowIdentity

SetDuration sets the Duration field's value.

SetEnabled

func (s *MaintenanceWindowIdentity) SetEnabled(v bool) *MaintenanceWindowIdentity

SetEnabled sets the Enabled field's value.

SetEndDate

func (s *MaintenanceWindowIdentity) SetEndDate(v string) *MaintenanceWindowIdentity

SetEndDate sets the EndDate field's value.

SetName

func (s *MaintenanceWindowIdentity) SetName(v string) *MaintenanceWindowIdentity

SetName sets the Name field's value.

SetNextExecutionTime

func (s *MaintenanceWindowIdentity) SetNextExecutionTime(v string) *MaintenanceWindowIdentity

SetNextExecutionTime sets the NextExecutionTime field's value.

SetSchedule

func (s *MaintenanceWindowIdentity) SetSchedule(v string) *MaintenanceWindowIdentity

SetSchedule sets the Schedule field's value.

SetScheduleTimezone

func (s *MaintenanceWindowIdentity) SetScheduleTimezone(v string) *MaintenanceWindowIdentity

SetScheduleTimezone sets the ScheduleTimezone field's value.

SetStartDate

func (s *MaintenanceWindowIdentity) SetStartDate(v string) *MaintenanceWindowIdentity

SetStartDate sets the StartDate field's value.

SetWindowId

func (s *MaintenanceWindowIdentity) SetWindowId(v string) *MaintenanceWindowIdentity

SetWindowId sets the WindowId field's value.

String

func (s MaintenanceWindowIdentity) String() string

String returns the string representation

On this page: