Documentation ¶
Index ¶
- type AutoscalingGroups
- type AutoscalingGroupsAttributes
- func (ag AutoscalingGroupsAttributes) InternalRef() (terra.Reference, error)
- func (ag AutoscalingGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ag AutoscalingGroupsAttributes) InternalWithRef(ref terra.Reference) AutoscalingGroupsAttributes
- func (ag AutoscalingGroupsAttributes) Name() terra.StringValue
- type AutoscalingGroupsState
- type LaunchTemplate
- type LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Id() terra.StringValue
- func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Name() terra.StringValue
- func (lt LaunchTemplateAttributes) Version() terra.StringValue
- type LaunchTemplateState
- type RemoteAccess
- type RemoteAccessAttributes
- func (ra RemoteAccessAttributes) Ec2SshKey() terra.StringValue
- func (ra RemoteAccessAttributes) InternalRef() (terra.Reference, error)
- func (ra RemoteAccessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ra RemoteAccessAttributes) InternalWithRef(ref terra.Reference) RemoteAccessAttributes
- func (ra RemoteAccessAttributes) SourceSecurityGroupIds() terra.SetValue[terra.StringValue]
- type RemoteAccessState
- type Resources
- type ResourcesAttributes
- func (r ResourcesAttributes) AutoscalingGroups() terra.ListValue[AutoscalingGroupsAttributes]
- func (r ResourcesAttributes) InternalRef() (terra.Reference, error)
- func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes
- func (r ResourcesAttributes) RemoteAccessSecurityGroupId() terra.StringValue
- type ResourcesState
- type ScalingConfig
- type ScalingConfigAttributes
- func (sc ScalingConfigAttributes) DesiredSize() terra.NumberValue
- func (sc ScalingConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ScalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ScalingConfigAttributes) InternalWithRef(ref terra.Reference) ScalingConfigAttributes
- func (sc ScalingConfigAttributes) MaxSize() terra.NumberValue
- func (sc ScalingConfigAttributes) MinSize() terra.NumberValue
- type ScalingConfigState
- type Taint
- type TaintAttributes
- func (t TaintAttributes) Effect() terra.StringValue
- func (t TaintAttributes) InternalRef() (terra.Reference, error)
- func (t TaintAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TaintAttributes) InternalWithRef(ref terra.Reference) TaintAttributes
- func (t TaintAttributes) Key() terra.StringValue
- func (t TaintAttributes) Value() terra.StringValue
- type TaintState
- 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
- type UpdateConfig
- type UpdateConfigAttributes
- func (uc UpdateConfigAttributes) InternalRef() (terra.Reference, error)
- func (uc UpdateConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (uc UpdateConfigAttributes) InternalWithRef(ref terra.Reference) UpdateConfigAttributes
- func (uc UpdateConfigAttributes) MaxUnavailable() terra.NumberValue
- func (uc UpdateConfigAttributes) MaxUnavailablePercentage() terra.NumberValue
- type UpdateConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalingGroups ¶
type AutoscalingGroups struct{}
type AutoscalingGroupsAttributes ¶
type AutoscalingGroupsAttributes struct {
// contains filtered or unexported fields
}
func (AutoscalingGroupsAttributes) InternalRef ¶
func (ag AutoscalingGroupsAttributes) InternalRef() (terra.Reference, error)
func (AutoscalingGroupsAttributes) InternalTokens ¶
func (ag AutoscalingGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoscalingGroupsAttributes) InternalWithRef ¶
func (ag AutoscalingGroupsAttributes) InternalWithRef(ref terra.Reference) AutoscalingGroupsAttributes
func (AutoscalingGroupsAttributes) Name ¶
func (ag AutoscalingGroupsAttributes) Name() terra.StringValue
type AutoscalingGroupsState ¶
type AutoscalingGroupsState struct {
Name string `json:"name"`
}
type LaunchTemplate ¶
type LaunchTemplate struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type LaunchTemplateAttributes ¶
type LaunchTemplateAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateAttributes) Id ¶
func (lt LaunchTemplateAttributes) Id() terra.StringValue
func (LaunchTemplateAttributes) InternalRef ¶
func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateAttributes) InternalTokens ¶
func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateAttributes) InternalWithRef ¶
func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
func (LaunchTemplateAttributes) Name ¶
func (lt LaunchTemplateAttributes) Name() terra.StringValue
func (LaunchTemplateAttributes) Version ¶
func (lt LaunchTemplateAttributes) Version() terra.StringValue
type LaunchTemplateState ¶
type RemoteAccess ¶
type RemoteAccess struct { // Ec2SshKey: string, optional Ec2SshKey terra.StringValue `hcl:"ec2_ssh_key,attr"` // SourceSecurityGroupIds: set of string, optional SourceSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"source_security_group_ids,attr"` }
type RemoteAccessAttributes ¶
type RemoteAccessAttributes struct {
// contains filtered or unexported fields
}
func (RemoteAccessAttributes) Ec2SshKey ¶
func (ra RemoteAccessAttributes) Ec2SshKey() terra.StringValue
func (RemoteAccessAttributes) InternalRef ¶
func (ra RemoteAccessAttributes) InternalRef() (terra.Reference, error)
func (RemoteAccessAttributes) InternalTokens ¶
func (ra RemoteAccessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RemoteAccessAttributes) InternalWithRef ¶
func (ra RemoteAccessAttributes) InternalWithRef(ref terra.Reference) RemoteAccessAttributes
func (RemoteAccessAttributes) SourceSecurityGroupIds ¶
func (ra RemoteAccessAttributes) SourceSecurityGroupIds() terra.SetValue[terra.StringValue]
type RemoteAccessState ¶
type Resources ¶
type Resources struct { // AutoscalingGroups: min=0 AutoscalingGroups []AutoscalingGroups `hcl:"autoscaling_groups,block" validate:"min=0"` }
type ResourcesAttributes ¶
type ResourcesAttributes struct {
// contains filtered or unexported fields
}
func (ResourcesAttributes) AutoscalingGroups ¶
func (r ResourcesAttributes) AutoscalingGroups() terra.ListValue[AutoscalingGroupsAttributes]
func (ResourcesAttributes) InternalRef ¶
func (r ResourcesAttributes) InternalRef() (terra.Reference, error)
func (ResourcesAttributes) InternalTokens ¶
func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourcesAttributes) InternalWithRef ¶
func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes
func (ResourcesAttributes) RemoteAccessSecurityGroupId ¶
func (r ResourcesAttributes) RemoteAccessSecurityGroupId() terra.StringValue
type ResourcesState ¶
type ResourcesState struct { RemoteAccessSecurityGroupId string `json:"remote_access_security_group_id"` AutoscalingGroups []AutoscalingGroupsState `json:"autoscaling_groups"` }
type ScalingConfig ¶
type ScalingConfig struct { // DesiredSize: number, required DesiredSize terra.NumberValue `hcl:"desired_size,attr" validate:"required"` // MaxSize: number, required MaxSize terra.NumberValue `hcl:"max_size,attr" validate:"required"` // MinSize: number, required MinSize terra.NumberValue `hcl:"min_size,attr" validate:"required"` }
type ScalingConfigAttributes ¶
type ScalingConfigAttributes struct {
// contains filtered or unexported fields
}
func (ScalingConfigAttributes) DesiredSize ¶
func (sc ScalingConfigAttributes) DesiredSize() terra.NumberValue
func (ScalingConfigAttributes) InternalRef ¶
func (sc ScalingConfigAttributes) InternalRef() (terra.Reference, error)
func (ScalingConfigAttributes) InternalTokens ¶
func (sc ScalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScalingConfigAttributes) InternalWithRef ¶
func (sc ScalingConfigAttributes) InternalWithRef(ref terra.Reference) ScalingConfigAttributes
func (ScalingConfigAttributes) MaxSize ¶
func (sc ScalingConfigAttributes) MaxSize() terra.NumberValue
func (ScalingConfigAttributes) MinSize ¶
func (sc ScalingConfigAttributes) MinSize() terra.NumberValue
type ScalingConfigState ¶
type Taint ¶
type Taint struct { // Effect: string, required Effect terra.StringValue `hcl:"effect,attr" validate:"required"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type TaintAttributes ¶
type TaintAttributes struct {
// contains filtered or unexported fields
}
func (TaintAttributes) Effect ¶
func (t TaintAttributes) Effect() terra.StringValue
func (TaintAttributes) InternalRef ¶
func (t TaintAttributes) InternalRef() (terra.Reference, error)
func (TaintAttributes) InternalTokens ¶
func (t TaintAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TaintAttributes) InternalWithRef ¶
func (t TaintAttributes) InternalWithRef(ref terra.Reference) TaintAttributes
func (TaintAttributes) Key ¶
func (t TaintAttributes) Key() terra.StringValue
func (TaintAttributes) Value ¶
func (t TaintAttributes) Value() terra.StringValue
type TaintState ¶
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 ¶
type UpdateConfig ¶
type UpdateConfig struct { terra.NumberValue `hcl:"max_unavailable,attr"` MaxUnavailablePercentage terra.NumberValue `hcl:"max_unavailable_percentage,attr"` }MaxUnavailable
type UpdateConfigAttributes ¶
type UpdateConfigAttributes struct {
// contains filtered or unexported fields
}
func (UpdateConfigAttributes) InternalRef ¶
func (uc UpdateConfigAttributes) InternalRef() (terra.Reference, error)
func (UpdateConfigAttributes) InternalTokens ¶
func (uc UpdateConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpdateConfigAttributes) InternalWithRef ¶
func (uc UpdateConfigAttributes) InternalWithRef(ref terra.Reference) UpdateConfigAttributes
func (UpdateConfigAttributes) MaxUnavailable ¶
func (uc UpdateConfigAttributes) MaxUnavailable() terra.NumberValue
func (UpdateConfigAttributes) MaxUnavailablePercentage ¶
func (uc UpdateConfigAttributes) MaxUnavailablePercentage() terra.NumberValue
type UpdateConfigState ¶
type UpdateConfigState struct {}
Click to show internal directories.
Click to hide internal directories.