Documentation ¶
Index ¶
- type ActionThreshold
- type ActionThresholdAttributes
- func (at ActionThresholdAttributes) ActionThresholdType() terra.StringValue
- func (at ActionThresholdAttributes) ActionThresholdValue() terra.NumberValue
- func (at ActionThresholdAttributes) InternalRef() (terra.Reference, error)
- func (at ActionThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (at ActionThresholdAttributes) InternalWithRef(ref terra.Reference) ActionThresholdAttributes
- type ActionThresholdState
- type Args
- type Definition
- type DefinitionAttributes
- func (d DefinitionAttributes) IamActionDefinition() terra.ListValue[DefinitionIamActionDefinitionAttributes]
- func (d DefinitionAttributes) InternalRef() (terra.Reference, error)
- func (d DefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionAttributes
- func (d DefinitionAttributes) ScpActionDefinition() terra.ListValue[DefinitionScpActionDefinitionAttributes]
- func (d DefinitionAttributes) SsmActionDefinition() terra.ListValue[DefinitionSsmActionDefinitionAttributes]
- type DefinitionIamActionDefinition
- type DefinitionIamActionDefinitionAttributes
- func (iad DefinitionIamActionDefinitionAttributes) Groups() terra.SetValue[terra.StringValue]
- func (iad DefinitionIamActionDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (iad DefinitionIamActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iad DefinitionIamActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionIamActionDefinitionAttributes
- func (iad DefinitionIamActionDefinitionAttributes) PolicyArn() terra.StringValue
- func (iad DefinitionIamActionDefinitionAttributes) Roles() terra.SetValue[terra.StringValue]
- func (iad DefinitionIamActionDefinitionAttributes) Users() terra.SetValue[terra.StringValue]
- type DefinitionIamActionDefinitionState
- type DefinitionScpActionDefinition
- type DefinitionScpActionDefinitionAttributes
- func (sad DefinitionScpActionDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (sad DefinitionScpActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sad DefinitionScpActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionScpActionDefinitionAttributes
- func (sad DefinitionScpActionDefinitionAttributes) PolicyId() terra.StringValue
- func (sad DefinitionScpActionDefinitionAttributes) TargetIds() terra.SetValue[terra.StringValue]
- type DefinitionScpActionDefinitionState
- type DefinitionSsmActionDefinition
- type DefinitionSsmActionDefinitionAttributes
- func (sad DefinitionSsmActionDefinitionAttributes) ActionSubType() terra.StringValue
- func (sad DefinitionSsmActionDefinitionAttributes) InstanceIds() terra.SetValue[terra.StringValue]
- func (sad DefinitionSsmActionDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (sad DefinitionSsmActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sad DefinitionSsmActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionSsmActionDefinitionAttributes
- func (sad DefinitionSsmActionDefinitionAttributes) Region() terra.StringValue
- type DefinitionSsmActionDefinitionState
- type DefinitionState
- type Resource
- func (abba *Resource) Attributes() awsBudgetsBudgetActionAttributes
- func (abba *Resource) Configuration() interface{}
- func (abba *Resource) DependOn() terra.Reference
- func (abba *Resource) Dependencies() terra.Dependencies
- func (abba *Resource) ImportState(state io.Reader) error
- func (abba *Resource) LifecycleManagement() *terra.Lifecycle
- func (abba *Resource) LocalName() string
- func (abba *Resource) State() (*awsBudgetsBudgetActionState, bool)
- func (abba *Resource) StateMust() *awsBudgetsBudgetActionState
- func (abba *Resource) Type() string
- type Subscriber
- type SubscriberAttributes
- func (s SubscriberAttributes) Address() terra.StringValue
- func (s SubscriberAttributes) InternalRef() (terra.Reference, error)
- func (s SubscriberAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SubscriberAttributes) InternalWithRef(ref terra.Reference) SubscriberAttributes
- func (s SubscriberAttributes) SubscriptionType() terra.StringValue
- type SubscriberState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 ¶
func (at ActionThresholdAttributes) InternalWithRef(ref terra.Reference) ActionThresholdAttributes
type ActionThresholdState ¶
type Args ¶
type Args struct { // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // ActionType: string, required ActionType terra.StringValue `hcl:"action_type,attr" validate:"required"` // ApprovalModel: string, required ApprovalModel terra.StringValue `hcl:"approval_model,attr" validate:"required"` // BudgetName: string, required BudgetName terra.StringValue `hcl:"budget_name,attr" validate:"required"` // ExecutionRoleArn: string, required ExecutionRoleArn terra.StringValue `hcl:"execution_role_arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // NotificationType: string, required NotificationType terra.StringValue `hcl:"notification_type,attr" validate:"required"` // ActionThreshold: required ActionThreshold *ActionThreshold `hcl:"action_threshold,block" validate:"required"` // Definition: required Definition *Definition `hcl:"definition,block" validate:"required"` // Subscriber: min=1,max=11 Subscriber []Subscriber `hcl:"subscriber,block" validate:"min=1,max=11"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_budgets_budget_action.
type Definition ¶
type Definition struct { // DefinitionIamActionDefinition: optional IamActionDefinition *DefinitionIamActionDefinition `hcl:"iam_action_definition,block"` // DefinitionScpActionDefinition: optional ScpActionDefinition *DefinitionScpActionDefinition `hcl:"scp_action_definition,block"` // DefinitionSsmActionDefinition: optional SsmActionDefinition *DefinitionSsmActionDefinition `hcl:"ssm_action_definition,block"` }
type DefinitionAttributes ¶
type DefinitionAttributes struct {
// contains filtered or unexported fields
}
func (DefinitionAttributes) IamActionDefinition ¶
func (d DefinitionAttributes) IamActionDefinition() terra.ListValue[DefinitionIamActionDefinitionAttributes]
func (DefinitionAttributes) InternalRef ¶
func (d DefinitionAttributes) InternalRef() (terra.Reference, error)
func (DefinitionAttributes) InternalTokens ¶
func (d DefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefinitionAttributes) InternalWithRef ¶
func (d DefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionAttributes
func (DefinitionAttributes) ScpActionDefinition ¶
func (d DefinitionAttributes) ScpActionDefinition() terra.ListValue[DefinitionScpActionDefinitionAttributes]
func (DefinitionAttributes) SsmActionDefinition ¶
func (d DefinitionAttributes) SsmActionDefinition() terra.ListValue[DefinitionSsmActionDefinitionAttributes]
type DefinitionIamActionDefinition ¶
type DefinitionIamActionDefinition 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 DefinitionIamActionDefinitionAttributes ¶
type DefinitionIamActionDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (DefinitionIamActionDefinitionAttributes) Groups ¶
func (iad DefinitionIamActionDefinitionAttributes) Groups() terra.SetValue[terra.StringValue]
func (DefinitionIamActionDefinitionAttributes) InternalRef ¶
func (iad DefinitionIamActionDefinitionAttributes) InternalRef() (terra.Reference, error)
func (DefinitionIamActionDefinitionAttributes) InternalTokens ¶
func (iad DefinitionIamActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefinitionIamActionDefinitionAttributes) InternalWithRef ¶
func (iad DefinitionIamActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionIamActionDefinitionAttributes
func (DefinitionIamActionDefinitionAttributes) PolicyArn ¶
func (iad DefinitionIamActionDefinitionAttributes) PolicyArn() terra.StringValue
func (DefinitionIamActionDefinitionAttributes) Roles ¶
func (iad DefinitionIamActionDefinitionAttributes) Roles() terra.SetValue[terra.StringValue]
func (DefinitionIamActionDefinitionAttributes) Users ¶
func (iad DefinitionIamActionDefinitionAttributes) Users() terra.SetValue[terra.StringValue]
type DefinitionScpActionDefinition ¶
type DefinitionScpActionDefinition 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 DefinitionScpActionDefinitionAttributes ¶
type DefinitionScpActionDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (DefinitionScpActionDefinitionAttributes) InternalRef ¶
func (sad DefinitionScpActionDefinitionAttributes) InternalRef() (terra.Reference, error)
func (DefinitionScpActionDefinitionAttributes) InternalTokens ¶
func (sad DefinitionScpActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefinitionScpActionDefinitionAttributes) InternalWithRef ¶
func (sad DefinitionScpActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionScpActionDefinitionAttributes
func (DefinitionScpActionDefinitionAttributes) PolicyId ¶
func (sad DefinitionScpActionDefinitionAttributes) PolicyId() terra.StringValue
func (DefinitionScpActionDefinitionAttributes) TargetIds ¶
func (sad DefinitionScpActionDefinitionAttributes) TargetIds() terra.SetValue[terra.StringValue]
type DefinitionSsmActionDefinition ¶
type DefinitionSsmActionDefinition 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 DefinitionSsmActionDefinitionAttributes ¶
type DefinitionSsmActionDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (DefinitionSsmActionDefinitionAttributes) ActionSubType ¶
func (sad DefinitionSsmActionDefinitionAttributes) ActionSubType() terra.StringValue
func (DefinitionSsmActionDefinitionAttributes) InstanceIds ¶
func (sad DefinitionSsmActionDefinitionAttributes) InstanceIds() terra.SetValue[terra.StringValue]
func (DefinitionSsmActionDefinitionAttributes) InternalRef ¶
func (sad DefinitionSsmActionDefinitionAttributes) InternalRef() (terra.Reference, error)
func (DefinitionSsmActionDefinitionAttributes) InternalTokens ¶
func (sad DefinitionSsmActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefinitionSsmActionDefinitionAttributes) InternalWithRef ¶
func (sad DefinitionSsmActionDefinitionAttributes) InternalWithRef(ref terra.Reference) DefinitionSsmActionDefinitionAttributes
func (DefinitionSsmActionDefinitionAttributes) Region ¶
func (sad DefinitionSsmActionDefinitionAttributes) Region() terra.StringValue
type DefinitionState ¶
type DefinitionState struct { IamActionDefinition []DefinitionIamActionDefinitionState `json:"iam_action_definition"` ScpActionDefinition []DefinitionScpActionDefinitionState `json:"scp_action_definition"` SsmActionDefinition []DefinitionSsmActionDefinitionState `json:"ssm_action_definition"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_budgets_budget_action.
func (*Resource) Attributes ¶
func (abba *Resource) Attributes() awsBudgetsBudgetActionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (abba *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (abba *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
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 (s SubscriberAttributes) Address() terra.StringValue
func (SubscriberAttributes) InternalRef ¶
func (s SubscriberAttributes) InternalRef() (terra.Reference, error)
func (SubscriberAttributes) InternalTokens ¶
func (s SubscriberAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SubscriberAttributes) InternalWithRef ¶
func (s SubscriberAttributes) InternalWithRef(ref terra.Reference) SubscriberAttributes
func (SubscriberAttributes) SubscriptionType ¶
func (s SubscriberAttributes) SubscriptionType() terra.StringValue
type SubscriberState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.