ssmpatchbaseline

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalRule

type ApprovalRule struct {
	// ApproveAfterDays: number, optional
	ApproveAfterDays terra.NumberValue `hcl:"approve_after_days,attr"`
	// ApproveUntilDate: string, optional
	ApproveUntilDate terra.StringValue `hcl:"approve_until_date,attr"`
	// ComplianceLevel: string, optional
	ComplianceLevel terra.StringValue `hcl:"compliance_level,attr"`
	// EnableNonSecurity: bool, optional
	EnableNonSecurity terra.BoolValue `hcl:"enable_non_security,attr"`
	// PatchFilter: min=1,max=10
	PatchFilter []PatchFilter `hcl:"patch_filter,block" validate:"min=1,max=10"`
}

type ApprovalRuleAttributes

type ApprovalRuleAttributes struct {
	// contains filtered or unexported fields
}

func (ApprovalRuleAttributes) ApproveAfterDays

func (ar ApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue

func (ApprovalRuleAttributes) ApproveUntilDate

func (ar ApprovalRuleAttributes) ApproveUntilDate() terra.StringValue

func (ApprovalRuleAttributes) ComplianceLevel

func (ar ApprovalRuleAttributes) ComplianceLevel() terra.StringValue

func (ApprovalRuleAttributes) EnableNonSecurity

func (ar ApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue

func (ApprovalRuleAttributes) InternalRef

func (ar ApprovalRuleAttributes) InternalRef() (terra.Reference, error)

func (ApprovalRuleAttributes) InternalTokens

func (ar ApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApprovalRuleAttributes) InternalWithRef

func (ApprovalRuleAttributes) PatchFilter

type ApprovalRuleState

type ApprovalRuleState struct {
	ApproveAfterDays  float64            `json:"approve_after_days"`
	ApproveUntilDate  string             `json:"approve_until_date"`
	ComplianceLevel   string             `json:"compliance_level"`
	EnableNonSecurity bool               `json:"enable_non_security"`
	PatchFilter       []PatchFilterState `json:"patch_filter"`
}

type GlobalFilter

type GlobalFilter struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type GlobalFilterAttributes

type GlobalFilterAttributes struct {
	// contains filtered or unexported fields
}

func (GlobalFilterAttributes) InternalRef

func (gf GlobalFilterAttributes) InternalRef() (terra.Reference, error)

func (GlobalFilterAttributes) InternalTokens

func (gf GlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GlobalFilterAttributes) InternalWithRef

func (GlobalFilterAttributes) Key

func (GlobalFilterAttributes) Values

type GlobalFilterState

type GlobalFilterState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

type PatchFilter

type PatchFilter struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type PatchFilterAttributes

type PatchFilterAttributes struct {
	// contains filtered or unexported fields
}

func (PatchFilterAttributes) InternalRef

func (pf PatchFilterAttributes) InternalRef() (terra.Reference, error)

func (PatchFilterAttributes) InternalTokens

func (pf PatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PatchFilterAttributes) InternalWithRef

func (PatchFilterAttributes) Key

func (PatchFilterAttributes) Values

type PatchFilterState

type PatchFilterState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

type Source

type Source struct {
	// Configuration: string, required
	Configuration terra.StringValue `hcl:"configuration,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Products: list of string, required
	Products terra.ListValue[terra.StringValue] `hcl:"products,attr" validate:"required"`
}

type SourceAttributes

type SourceAttributes struct {
	// contains filtered or unexported fields
}

func (SourceAttributes) Configuration

func (s SourceAttributes) Configuration() terra.StringValue

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

func (SourceAttributes) Name

func (SourceAttributes) Products

type SourceState

type SourceState struct {
	Configuration string   `json:"configuration"`
	Name          string   `json:"name"`
	Products      []string `json:"products"`
}

Jump to

Keyboard shortcuts

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