scheduledaudit

package
v0.0.0-...-1f78e34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {

	// The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
	DayOfMonth string `json:"DayOfMonth,omitempty"`

	// The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
	DayOfWeek string `json:"DayOfWeek,omitempty"`

	// How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
	Frequency string `json:"Frequency"`

	// The ARN (Amazon resource name) of the scheduled audit.
	ScheduledAuditArn string `json:"ScheduledAuditArn,omitempty"`

	// The name you want to give to the scheduled audit.
	ScheduledAuditName string `json:"ScheduledAuditName,omitempty"`

	// An array of key-value pairs to apply to this resource.
	Tags []*Tag `json:"Tags,omitempty"`

	// Which checks are performed during the scheduled audit. Checks must be enabled for your account.
	TargetCheckNames []string `json:"TargetCheckNames"`
}

Resource Scheduled audits can be used to specify the checks you want to perform during an audit and how often the audit should be run.

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

type Tag

type Tag struct {

	// The tag's key.
	Key string `json:"Key"`

	// The tag's value.
	Value string `json:"Value"`
}

Tag A key-value pair to associate with a resource.

func (*Tag) MarshalJSON

func (strct *Tag) MarshalJSON() ([]byte, error)

func (*Tag) UnmarshalJSON

func (strct *Tag) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL