budgetsbudgetaction

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 ActionThreshold

type ActionThreshold struct {
	// ActionThresholdType: string, required
	ActionThresholdType terra.StringValue `hcl:"action_threshold_type,attr" validate:"required"`
	// ActionThresholdValue: number, required
	ActionThresholdValue terra.NumberValue `hcl:"action_threshold_value,attr" validate:"required"`
}

type ActionThresholdAttributes

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

func (ActionThresholdAttributes) ActionThresholdType

func (at ActionThresholdAttributes) ActionThresholdType() terra.StringValue

func (ActionThresholdAttributes) ActionThresholdValue

func (at ActionThresholdAttributes) ActionThresholdValue() terra.NumberValue

func (ActionThresholdAttributes) InternalRef

func (at ActionThresholdAttributes) InternalRef() (terra.Reference, error)

func (ActionThresholdAttributes) InternalTokens

func (at ActionThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionThresholdAttributes) InternalWithRef

type ActionThresholdState

type ActionThresholdState struct {
	ActionThresholdType  string  `json:"action_threshold_type"`
	ActionThresholdValue float64 `json:"action_threshold_value"`
}

type Definition

type Definition struct {
	// IamActionDefinition: optional
	IamActionDefinition *IamActionDefinition `hcl:"iam_action_definition,block"`
	// ScpActionDefinition: optional
	ScpActionDefinition *ScpActionDefinition `hcl:"scp_action_definition,block"`
	// SsmActionDefinition: optional
	SsmActionDefinition *SsmActionDefinition `hcl:"ssm_action_definition,block"`
}

type DefinitionAttributes

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

func (DefinitionAttributes) IamActionDefinition

func (DefinitionAttributes) InternalRef

func (d DefinitionAttributes) InternalRef() (terra.Reference, error)

func (DefinitionAttributes) InternalTokens

func (d DefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefinitionAttributes) InternalWithRef

func (DefinitionAttributes) ScpActionDefinition

func (DefinitionAttributes) SsmActionDefinition

type DefinitionState

type DefinitionState struct {
	IamActionDefinition []IamActionDefinitionState `json:"iam_action_definition"`
	ScpActionDefinition []ScpActionDefinitionState `json:"scp_action_definition"`
	SsmActionDefinition []SsmActionDefinitionState `json:"ssm_action_definition"`
}

type IamActionDefinition

type IamActionDefinition struct {
	// Groups: set of string, optional
	Groups terra.SetValue[terra.StringValue] `hcl:"groups,attr"`
	// PolicyArn: string, required
	PolicyArn terra.StringValue `hcl:"policy_arn,attr" validate:"required"`
	// Roles: set of string, optional
	Roles terra.SetValue[terra.StringValue] `hcl:"roles,attr"`
	// Users: set of string, optional
	Users terra.SetValue[terra.StringValue] `hcl:"users,attr"`
}

type IamActionDefinitionAttributes

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

func (IamActionDefinitionAttributes) Groups

func (IamActionDefinitionAttributes) InternalRef

func (iad IamActionDefinitionAttributes) InternalRef() (terra.Reference, error)

func (IamActionDefinitionAttributes) InternalTokens

func (iad IamActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IamActionDefinitionAttributes) InternalWithRef

func (IamActionDefinitionAttributes) PolicyArn

func (IamActionDefinitionAttributes) Roles

func (IamActionDefinitionAttributes) Users

type IamActionDefinitionState

type IamActionDefinitionState struct {
	Groups    []string `json:"groups"`
	PolicyArn string   `json:"policy_arn"`
	Roles     []string `json:"roles"`
	Users     []string `json:"users"`
}

type ScpActionDefinition

type ScpActionDefinition struct {
	// PolicyId: string, required
	PolicyId terra.StringValue `hcl:"policy_id,attr" validate:"required"`
	// TargetIds: set of string, required
	TargetIds terra.SetValue[terra.StringValue] `hcl:"target_ids,attr" validate:"required"`
}

type ScpActionDefinitionAttributes

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

func (ScpActionDefinitionAttributes) InternalRef

func (sad ScpActionDefinitionAttributes) InternalRef() (terra.Reference, error)

func (ScpActionDefinitionAttributes) InternalTokens

func (sad ScpActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScpActionDefinitionAttributes) InternalWithRef

func (ScpActionDefinitionAttributes) PolicyId

func (ScpActionDefinitionAttributes) TargetIds

type ScpActionDefinitionState

type ScpActionDefinitionState struct {
	PolicyId  string   `json:"policy_id"`
	TargetIds []string `json:"target_ids"`
}

type SsmActionDefinition

type SsmActionDefinition struct {
	// ActionSubType: string, required
	ActionSubType terra.StringValue `hcl:"action_sub_type,attr" validate:"required"`
	// InstanceIds: set of string, required
	InstanceIds terra.SetValue[terra.StringValue] `hcl:"instance_ids,attr" validate:"required"`
	// Region: string, required
	Region terra.StringValue `hcl:"region,attr" validate:"required"`
}

type SsmActionDefinitionAttributes

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

func (SsmActionDefinitionAttributes) ActionSubType

func (sad SsmActionDefinitionAttributes) ActionSubType() terra.StringValue

func (SsmActionDefinitionAttributes) InstanceIds

func (SsmActionDefinitionAttributes) InternalRef

func (sad SsmActionDefinitionAttributes) InternalRef() (terra.Reference, error)

func (SsmActionDefinitionAttributes) InternalTokens

func (sad SsmActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SsmActionDefinitionAttributes) InternalWithRef

func (SsmActionDefinitionAttributes) Region

type SsmActionDefinitionState

type SsmActionDefinitionState struct {
	ActionSubType string   `json:"action_sub_type"`
	InstanceIds   []string `json:"instance_ids"`
	Region        string   `json:"region"`
}

type Subscriber

type Subscriber struct {
	// Address: string, required
	Address terra.StringValue `hcl:"address,attr" validate:"required"`
	// SubscriptionType: string, required
	SubscriptionType terra.StringValue `hcl:"subscription_type,attr" validate:"required"`
}

type SubscriberAttributes

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

func (SubscriberAttributes) Address

func (SubscriberAttributes) InternalRef

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

func (SubscriberAttributes) InternalTokens

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

func (SubscriberAttributes) InternalWithRef

func (SubscriberAttributes) SubscriptionType

func (s SubscriberAttributes) SubscriptionType() terra.StringValue

type SubscriberState

type SubscriberState struct {
	Address          string `json:"address"`
	SubscriptionType string `json:"subscription_type"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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