Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- type ActionState
- type IncidentTemplate
- type IncidentTemplateAttributes
- func (it IncidentTemplateAttributes) DedupeString() terra.StringValue
- func (it IncidentTemplateAttributes) Impact() terra.NumberValue
- func (it IncidentTemplateAttributes) IncidentTags() terra.MapValue[terra.StringValue]
- func (it IncidentTemplateAttributes) InternalRef() (terra.Reference, error)
- func (it IncidentTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (it IncidentTemplateAttributes) InternalWithRef(ref terra.Reference) IncidentTemplateAttributes
- func (it IncidentTemplateAttributes) NotificationTarget() terra.SetValue[NotificationTargetAttributes]
- func (it IncidentTemplateAttributes) Summary() terra.StringValue
- func (it IncidentTemplateAttributes) Title() terra.StringValue
- type IncidentTemplateState
- type Integration
- type IntegrationAttributes
- func (i IntegrationAttributes) InternalRef() (terra.Reference, error)
- func (i IntegrationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IntegrationAttributes) InternalWithRef(ref terra.Reference) IntegrationAttributes
- func (i IntegrationAttributes) Pagerduty() terra.ListValue[PagerdutyAttributes]
- type IntegrationState
- type NotificationTarget
- type NotificationTargetAttributes
- func (nt NotificationTargetAttributes) InternalRef() (terra.Reference, error)
- func (nt NotificationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nt NotificationTargetAttributes) InternalWithRef(ref terra.Reference) NotificationTargetAttributes
- func (nt NotificationTargetAttributes) SnsTopicArn() terra.StringValue
- type NotificationTargetState
- type Pagerduty
- type PagerdutyAttributes
- func (p PagerdutyAttributes) InternalRef() (terra.Reference, error)
- func (p PagerdutyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PagerdutyAttributes) InternalWithRef(ref terra.Reference) PagerdutyAttributes
- func (p PagerdutyAttributes) Name() terra.StringValue
- func (p PagerdutyAttributes) SecretId() terra.StringValue
- func (p PagerdutyAttributes) ServiceId() terra.StringValue
- type PagerdutyState
- type Parameter
- type ParameterAttributes
- func (p ParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
- func (p ParameterAttributes) Name() terra.StringValue
- func (p ParameterAttributes) Values() terra.SetValue[terra.StringValue]
- type ParameterState
- type SsmAutomation
- type SsmAutomationAttributes
- func (sa SsmAutomationAttributes) DocumentName() terra.StringValue
- func (sa SsmAutomationAttributes) DocumentVersion() terra.StringValue
- func (sa SsmAutomationAttributes) DynamicParameters() terra.MapValue[terra.StringValue]
- func (sa SsmAutomationAttributes) InternalRef() (terra.Reference, error)
- func (sa SsmAutomationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa SsmAutomationAttributes) InternalWithRef(ref terra.Reference) SsmAutomationAttributes
- func (sa SsmAutomationAttributes) Parameter() terra.SetValue[ParameterAttributes]
- func (sa SsmAutomationAttributes) RoleArn() terra.StringValue
- func (sa SsmAutomationAttributes) TargetAccount() terra.StringValue
- type SsmAutomationState
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 ¶
func (a ActionAttributes) SsmAutomation() terra.ListValue[SsmAutomationAttributes]
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 (it IncidentTemplateAttributes) Impact() terra.NumberValue
func (IncidentTemplateAttributes) IncidentTags ¶
func (it IncidentTemplateAttributes) IncidentTags() terra.MapValue[terra.StringValue]
func (IncidentTemplateAttributes) InternalRef ¶
func (it IncidentTemplateAttributes) InternalRef() (terra.Reference, error)
func (IncidentTemplateAttributes) InternalTokens ¶
func (it IncidentTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IncidentTemplateAttributes) InternalWithRef ¶
func (it IncidentTemplateAttributes) InternalWithRef(ref terra.Reference) IncidentTemplateAttributes
func (IncidentTemplateAttributes) NotificationTarget ¶
func (it IncidentTemplateAttributes) NotificationTarget() terra.SetValue[NotificationTargetAttributes]
func (IncidentTemplateAttributes) Summary ¶
func (it IncidentTemplateAttributes) Summary() terra.StringValue
func (IncidentTemplateAttributes) Title ¶
func (it IncidentTemplateAttributes) Title() terra.StringValue
type IncidentTemplateState ¶
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 (i IntegrationAttributes) InternalWithRef(ref terra.Reference) IntegrationAttributes
func (IntegrationAttributes) Pagerduty ¶
func (i IntegrationAttributes) Pagerduty() terra.ListValue[PagerdutyAttributes]
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 (nt NotificationTargetAttributes) InternalWithRef(ref terra.Reference) NotificationTargetAttributes
func (NotificationTargetAttributes) SnsTopicArn ¶
func (nt NotificationTargetAttributes) SnsTopicArn() terra.StringValue
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 (p PagerdutyAttributes) Name() terra.StringValue
func (PagerdutyAttributes) SecretId ¶
func (p PagerdutyAttributes) SecretId() terra.StringValue
func (PagerdutyAttributes) ServiceId ¶
func (p PagerdutyAttributes) ServiceId() terra.StringValue
type PagerdutyState ¶
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 (p ParameterAttributes) Name() terra.StringValue
func (ParameterAttributes) Values ¶
func (p ParameterAttributes) Values() terra.SetValue[terra.StringValue]
type ParameterState ¶
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 (sa SsmAutomationAttributes) InternalWithRef(ref terra.Reference) SsmAutomationAttributes
func (SsmAutomationAttributes) Parameter ¶
func (sa SsmAutomationAttributes) Parameter() terra.SetValue[ParameterAttributes]
func (SsmAutomationAttributes) RoleArn ¶
func (sa SsmAutomationAttributes) RoleArn() terra.StringValue
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"` }
Click to show internal directories.
Click to hide internal directories.