ssmincidentsresponseplan

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 Action

type Action struct {
	// SsmAutomation: min=0
	SsmAutomation []SsmAutomation `hcl:"ssm_automation,block" validate:"min=0"`
}

type ActionAttributes

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

func (ActionAttributes) InternalRef

func (a ActionAttributes) InternalRef() (terra.Reference, error)

func (ActionAttributes) InternalTokens

func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionAttributes) InternalWithRef

func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes

func (ActionAttributes) SsmAutomation

type ActionState

type ActionState struct {
	SsmAutomation []SsmAutomationState `json:"ssm_automation"`
}

type IncidentTemplate

type IncidentTemplate struct {
	// DedupeString: string, optional
	DedupeString terra.StringValue `hcl:"dedupe_string,attr"`
	// Impact: number, required
	Impact terra.NumberValue `hcl:"impact,attr" validate:"required"`
	// IncidentTags: map of string, optional
	IncidentTags terra.MapValue[terra.StringValue] `hcl:"incident_tags,attr"`
	// Summary: string, optional
	Summary terra.StringValue `hcl:"summary,attr"`
	// Title: string, required
	Title terra.StringValue `hcl:"title,attr" validate:"required"`
	// NotificationTarget: min=0
	NotificationTarget []NotificationTarget `hcl:"notification_target,block" validate:"min=0"`
}

type IncidentTemplateAttributes

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

func (IncidentTemplateAttributes) DedupeString

func (it IncidentTemplateAttributes) DedupeString() terra.StringValue

func (IncidentTemplateAttributes) Impact

func (IncidentTemplateAttributes) IncidentTags

func (IncidentTemplateAttributes) InternalRef

func (it IncidentTemplateAttributes) InternalRef() (terra.Reference, error)

func (IncidentTemplateAttributes) InternalTokens

func (it IncidentTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IncidentTemplateAttributes) InternalWithRef

func (IncidentTemplateAttributes) NotificationTarget

func (IncidentTemplateAttributes) Summary

func (IncidentTemplateAttributes) Title

type IncidentTemplateState

type IncidentTemplateState struct {
	DedupeString       string                    `json:"dedupe_string"`
	Impact             float64                   `json:"impact"`
	IncidentTags       map[string]string         `json:"incident_tags"`
	Summary            string                    `json:"summary"`
	Title              string                    `json:"title"`
	NotificationTarget []NotificationTargetState `json:"notification_target"`
}

type Integration

type Integration struct {
	// Pagerduty: min=0
	Pagerduty []Pagerduty `hcl:"pagerduty,block" validate:"min=0"`
}

type IntegrationAttributes

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

func (IntegrationAttributes) InternalRef

func (i IntegrationAttributes) InternalRef() (terra.Reference, error)

func (IntegrationAttributes) InternalTokens

func (i IntegrationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IntegrationAttributes) InternalWithRef

func (IntegrationAttributes) Pagerduty

type IntegrationState

type IntegrationState struct {
	Pagerduty []PagerdutyState `json:"pagerduty"`
}

type NotificationTarget

type NotificationTarget struct {
	// SnsTopicArn: string, required
	SnsTopicArn terra.StringValue `hcl:"sns_topic_arn,attr" validate:"required"`
}

type NotificationTargetAttributes

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

func (NotificationTargetAttributes) InternalRef

func (nt NotificationTargetAttributes) InternalRef() (terra.Reference, error)

func (NotificationTargetAttributes) InternalTokens

func (nt NotificationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationTargetAttributes) InternalWithRef

func (NotificationTargetAttributes) SnsTopicArn

type NotificationTargetState

type NotificationTargetState struct {
	SnsTopicArn string `json:"sns_topic_arn"`
}

type Pagerduty

type Pagerduty struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SecretId: string, required
	SecretId terra.StringValue `hcl:"secret_id,attr" validate:"required"`
	// ServiceId: string, required
	ServiceId terra.StringValue `hcl:"service_id,attr" validate:"required"`
}

type PagerdutyAttributes

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

func (PagerdutyAttributes) InternalRef

func (p PagerdutyAttributes) InternalRef() (terra.Reference, error)

func (PagerdutyAttributes) InternalTokens

func (p PagerdutyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PagerdutyAttributes) InternalWithRef

func (p PagerdutyAttributes) InternalWithRef(ref terra.Reference) PagerdutyAttributes

func (PagerdutyAttributes) Name

func (PagerdutyAttributes) SecretId

func (p PagerdutyAttributes) SecretId() terra.StringValue

func (PagerdutyAttributes) ServiceId

func (p PagerdutyAttributes) ServiceId() terra.StringValue

type PagerdutyState

type PagerdutyState struct {
	Name      string `json:"name"`
	SecretId  string `json:"secret_id"`
	ServiceId string `json:"service_id"`
}

type Parameter

type Parameter struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Values: set of string, required
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type ParameterAttributes

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

func (ParameterAttributes) InternalRef

func (p ParameterAttributes) InternalRef() (terra.Reference, error)

func (ParameterAttributes) InternalTokens

func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterAttributes) InternalWithRef

func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes

func (ParameterAttributes) Name

func (ParameterAttributes) Values

type ParameterState

type ParameterState struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

type SsmAutomation

type SsmAutomation struct {
	// DocumentName: string, required
	DocumentName terra.StringValue `hcl:"document_name,attr" validate:"required"`
	// DocumentVersion: string, optional
	DocumentVersion terra.StringValue `hcl:"document_version,attr"`
	// DynamicParameters: map of string, optional
	DynamicParameters terra.MapValue[terra.StringValue] `hcl:"dynamic_parameters,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TargetAccount: string, optional
	TargetAccount terra.StringValue `hcl:"target_account,attr"`
	// Parameter: min=0
	Parameter []Parameter `hcl:"parameter,block" validate:"min=0"`
}

type SsmAutomationAttributes

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

func (SsmAutomationAttributes) DocumentName

func (sa SsmAutomationAttributes) DocumentName() terra.StringValue

func (SsmAutomationAttributes) DocumentVersion

func (sa SsmAutomationAttributes) DocumentVersion() terra.StringValue

func (SsmAutomationAttributes) DynamicParameters

func (sa SsmAutomationAttributes) DynamicParameters() terra.MapValue[terra.StringValue]

func (SsmAutomationAttributes) InternalRef

func (sa SsmAutomationAttributes) InternalRef() (terra.Reference, error)

func (SsmAutomationAttributes) InternalTokens

func (sa SsmAutomationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SsmAutomationAttributes) InternalWithRef

func (SsmAutomationAttributes) Parameter

func (SsmAutomationAttributes) RoleArn

func (SsmAutomationAttributes) TargetAccount

func (sa SsmAutomationAttributes) TargetAccount() terra.StringValue

type SsmAutomationState

type SsmAutomationState struct {
	DocumentName      string            `json:"document_name"`
	DocumentVersion   string            `json:"document_version"`
	DynamicParameters map[string]string `json:"dynamic_parameters"`
	RoleArn           string            `json:"role_arn"`
	TargetAccount     string            `json:"target_account"`
	Parameter         []ParameterState  `json:"parameter"`
}

Jump to

Keyboard shortcuts

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