Documentation
¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) ActionId() terra.StringValue
- func (a ActionAttributes) Description() terra.StringValue
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) Name() terra.StringValue
- func (a ActionAttributes) Parameter() terra.SetValue[ActionParameterAttributes]
- func (a ActionAttributes) StartAfter() terra.SetValue[terra.StringValue]
- func (a ActionAttributes) Target() terra.ListValue[ActionTargetAttributes]
- type ActionParameter
- type ActionParameterAttributes
- func (p ActionParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ActionParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ActionParameterAttributes) InternalWithRef(ref terra.Reference) ActionParameterAttributes
- func (p ActionParameterAttributes) Key() terra.StringValue
- func (p ActionParameterAttributes) Value() terra.StringValue
- type ActionParameterState
- type ActionState
- type ActionTarget
- type ActionTargetAttributes
- func (t ActionTargetAttributes) InternalRef() (terra.Reference, error)
- func (t ActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ActionTargetAttributes) InternalWithRef(ref terra.Reference) ActionTargetAttributes
- func (t ActionTargetAttributes) Key() terra.StringValue
- func (t ActionTargetAttributes) Value() terra.StringValue
- type ActionTargetState
- type Args
- type Resource
- func (afet *Resource) Attributes() awsFisExperimentTemplateAttributes
- func (afet *Resource) Configuration() interface{}
- func (afet *Resource) DependOn() terra.Reference
- func (afet *Resource) Dependencies() terra.Dependencies
- func (afet *Resource) ImportState(state io.Reader) error
- func (afet *Resource) LifecycleManagement() *terra.Lifecycle
- func (afet *Resource) LocalName() string
- func (afet *Resource) State() (*awsFisExperimentTemplateState, bool)
- func (afet *Resource) StateMust() *awsFisExperimentTemplateState
- func (afet *Resource) Type() string
- type StopCondition
- type StopConditionAttributes
- func (sc StopConditionAttributes) InternalRef() (terra.Reference, error)
- func (sc StopConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc StopConditionAttributes) InternalWithRef(ref terra.Reference) StopConditionAttributes
- func (sc StopConditionAttributes) Source() terra.StringValue
- func (sc StopConditionAttributes) Value() terra.StringValue
- type StopConditionState
- type Target
- type TargetAttributes
- func (t TargetAttributes) Filter() terra.ListValue[TargetFilterAttributes]
- func (t TargetAttributes) InternalRef() (terra.Reference, error)
- func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
- func (t TargetAttributes) Name() terra.StringValue
- func (t TargetAttributes) ResourceArns() terra.SetValue[terra.StringValue]
- func (t TargetAttributes) ResourceTag() terra.SetValue[TargetResourceTagAttributes]
- func (t TargetAttributes) ResourceType() terra.StringValue
- func (t TargetAttributes) SelectionMode() terra.StringValue
- type TargetFilter
- type TargetFilterAttributes
- func (f TargetFilterAttributes) InternalRef() (terra.Reference, error)
- func (f TargetFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f TargetFilterAttributes) InternalWithRef(ref terra.Reference) TargetFilterAttributes
- func (f TargetFilterAttributes) Path() terra.StringValue
- func (f TargetFilterAttributes) Values() terra.SetValue[terra.StringValue]
- type TargetFilterState
- type TargetResourceTag
- type TargetResourceTagAttributes
- func (rt TargetResourceTagAttributes) InternalRef() (terra.Reference, error)
- func (rt TargetResourceTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rt TargetResourceTagAttributes) InternalWithRef(ref terra.Reference) TargetResourceTagAttributes
- func (rt TargetResourceTagAttributes) Key() terra.StringValue
- func (rt TargetResourceTagAttributes) Value() terra.StringValue
- type TargetResourceTagState
- type TargetState
- 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 Action ¶
type Action struct { // ActionId: string, required ActionId terra.StringValue `hcl:"action_id,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StartAfter: set of string, optional StartAfter terra.SetValue[terra.StringValue] `hcl:"start_after,attr"` // ActionParameter: min=0 Parameter []ActionParameter `hcl:"parameter,block" validate:"min=0"` // ActionTarget: optional Target *ActionTarget `hcl:"target,block"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) ActionId ¶
func (a ActionAttributes) ActionId() terra.StringValue
func (ActionAttributes) Description ¶
func (a ActionAttributes) Description() terra.StringValue
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) Name ¶
func (a ActionAttributes) Name() terra.StringValue
func (ActionAttributes) Parameter ¶
func (a ActionAttributes) Parameter() terra.SetValue[ActionParameterAttributes]
func (ActionAttributes) StartAfter ¶
func (a ActionAttributes) StartAfter() terra.SetValue[terra.StringValue]
func (ActionAttributes) Target ¶
func (a ActionAttributes) Target() terra.ListValue[ActionTargetAttributes]
type ActionParameter ¶
type ActionParameter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ActionParameterAttributes ¶
type ActionParameterAttributes struct {
// contains filtered or unexported fields
}
func (ActionParameterAttributes) InternalRef ¶
func (p ActionParameterAttributes) InternalRef() (terra.Reference, error)
func (ActionParameterAttributes) InternalTokens ¶
func (p ActionParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionParameterAttributes) InternalWithRef ¶
func (p ActionParameterAttributes) InternalWithRef(ref terra.Reference) ActionParameterAttributes
func (ActionParameterAttributes) Key ¶
func (p ActionParameterAttributes) Key() terra.StringValue
func (ActionParameterAttributes) Value ¶
func (p ActionParameterAttributes) Value() terra.StringValue
type ActionParameterState ¶
type ActionState ¶
type ActionState struct { ActionId string `json:"action_id"` Description string `json:"description"` Name string `json:"name"` StartAfter []string `json:"start_after"` Parameter []ActionParameterState `json:"parameter"` Target []ActionTargetState `json:"target"` }
type ActionTarget ¶
type ActionTarget struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ActionTargetAttributes ¶
type ActionTargetAttributes struct {
// contains filtered or unexported fields
}
func (ActionTargetAttributes) InternalRef ¶
func (t ActionTargetAttributes) InternalRef() (terra.Reference, error)
func (ActionTargetAttributes) InternalTokens ¶
func (t ActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionTargetAttributes) InternalWithRef ¶
func (t ActionTargetAttributes) InternalWithRef(ref terra.Reference) ActionTargetAttributes
func (ActionTargetAttributes) Key ¶
func (t ActionTargetAttributes) Key() terra.StringValue
func (ActionTargetAttributes) Value ¶
func (t ActionTargetAttributes) Value() terra.StringValue
type ActionTargetState ¶
type Args ¶
type Args struct { // Description: string, required Description terra.StringValue `hcl:"description,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // Action: min=1 Action []Action `hcl:"action,block" validate:"min=1"` // StopCondition: min=1 StopCondition []StopCondition `hcl:"stop_condition,block" validate:"min=1"` // Target: min=0 Target []Target `hcl:"target,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_fis_experiment_template.
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_fis_experiment_template.
func (*Resource) Attributes ¶
func (afet *Resource) Attributes() awsFisExperimentTemplateAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (afet *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (afet *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 StopCondition ¶
type StopCondition struct { // Source: string, required Source terra.StringValue `hcl:"source,attr" validate:"required"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type StopConditionAttributes ¶
type StopConditionAttributes struct {
// contains filtered or unexported fields
}
func (StopConditionAttributes) InternalRef ¶
func (sc StopConditionAttributes) InternalRef() (terra.Reference, error)
func (StopConditionAttributes) InternalTokens ¶
func (sc StopConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StopConditionAttributes) InternalWithRef ¶
func (sc StopConditionAttributes) InternalWithRef(ref terra.Reference) StopConditionAttributes
func (StopConditionAttributes) Source ¶
func (sc StopConditionAttributes) Source() terra.StringValue
func (StopConditionAttributes) Value ¶
func (sc StopConditionAttributes) Value() terra.StringValue
type StopConditionState ¶
type Target ¶
type Target struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceArns: set of string, optional ResourceArns terra.SetValue[terra.StringValue] `hcl:"resource_arns,attr"` // ResourceType: string, required ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"` // SelectionMode: string, required SelectionMode terra.StringValue `hcl:"selection_mode,attr" validate:"required"` // TargetFilter: min=0 Filter []TargetFilter `hcl:"filter,block" validate:"min=0"` // TargetResourceTag: min=0,max=50 ResourceTag []TargetResourceTag `hcl:"resource_tag,block" validate:"min=0,max=50"` }
type TargetAttributes ¶
type TargetAttributes struct {
// contains filtered or unexported fields
}
func (TargetAttributes) Filter ¶
func (t TargetAttributes) Filter() terra.ListValue[TargetFilterAttributes]
func (TargetAttributes) InternalRef ¶
func (t TargetAttributes) InternalRef() (terra.Reference, error)
func (TargetAttributes) InternalTokens ¶
func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetAttributes) InternalWithRef ¶
func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
func (TargetAttributes) Name ¶
func (t TargetAttributes) Name() terra.StringValue
func (TargetAttributes) ResourceArns ¶
func (t TargetAttributes) ResourceArns() terra.SetValue[terra.StringValue]
func (TargetAttributes) ResourceTag ¶
func (t TargetAttributes) ResourceTag() terra.SetValue[TargetResourceTagAttributes]
func (TargetAttributes) ResourceType ¶
func (t TargetAttributes) ResourceType() terra.StringValue
func (TargetAttributes) SelectionMode ¶
func (t TargetAttributes) SelectionMode() terra.StringValue
type TargetFilter ¶
type TargetFilter struct { // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type TargetFilterAttributes ¶
type TargetFilterAttributes struct {
// contains filtered or unexported fields
}
func (TargetFilterAttributes) InternalRef ¶
func (f TargetFilterAttributes) InternalRef() (terra.Reference, error)
func (TargetFilterAttributes) InternalTokens ¶
func (f TargetFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetFilterAttributes) InternalWithRef ¶
func (f TargetFilterAttributes) InternalWithRef(ref terra.Reference) TargetFilterAttributes
func (TargetFilterAttributes) Path ¶
func (f TargetFilterAttributes) Path() terra.StringValue
func (TargetFilterAttributes) Values ¶
func (f TargetFilterAttributes) Values() terra.SetValue[terra.StringValue]
type TargetFilterState ¶
type TargetResourceTag ¶
type TargetResourceTag struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type TargetResourceTagAttributes ¶
type TargetResourceTagAttributes struct {
// contains filtered or unexported fields
}
func (TargetResourceTagAttributes) InternalRef ¶
func (rt TargetResourceTagAttributes) InternalRef() (terra.Reference, error)
func (TargetResourceTagAttributes) InternalTokens ¶
func (rt TargetResourceTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetResourceTagAttributes) InternalWithRef ¶
func (rt TargetResourceTagAttributes) InternalWithRef(ref terra.Reference) TargetResourceTagAttributes
func (TargetResourceTagAttributes) Key ¶
func (rt TargetResourceTagAttributes) Key() terra.StringValue
func (TargetResourceTagAttributes) Value ¶
func (rt TargetResourceTagAttributes) Value() terra.StringValue
type TargetResourceTagState ¶
type TargetState ¶
type TargetState struct { Name string `json:"name"` ResourceArns []string `json:"resource_arns"` ResourceType string `json:"resource_type"` SelectionMode string `json:"selection_mode"` Filter []TargetFilterState `json:"filter"` ResourceTag []TargetResourceTagState `json:"resource_tag"` }
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.