Documentation ¶
Index ¶
- type Args
- type Resource
- func (aasa *Resource) Attributes() awsAppautoscalingScheduledActionAttributes
- func (aasa *Resource) Configuration() interface{}
- func (aasa *Resource) DependOn() terra.Reference
- func (aasa *Resource) Dependencies() terra.Dependencies
- func (aasa *Resource) ImportState(state io.Reader) error
- func (aasa *Resource) LifecycleManagement() *terra.Lifecycle
- func (aasa *Resource) LocalName() string
- func (aasa *Resource) State() (*awsAppautoscalingScheduledActionState, bool)
- func (aasa *Resource) StateMust() *awsAppautoscalingScheduledActionState
- func (aasa *Resource) Type() string
- type ScalableTargetAction
- type ScalableTargetActionAttributes
- func (sta ScalableTargetActionAttributes) InternalRef() (terra.Reference, error)
- func (sta ScalableTargetActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sta ScalableTargetActionAttributes) InternalWithRef(ref terra.Reference) ScalableTargetActionAttributes
- func (sta ScalableTargetActionAttributes) MaxCapacity() terra.StringValue
- func (sta ScalableTargetActionAttributes) MinCapacity() terra.StringValue
- type ScalableTargetActionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // EndTime: string, optional EndTime terra.StringValue `hcl:"end_time,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceId: string, required ResourceId terra.StringValue `hcl:"resource_id,attr" validate:"required"` // ScalableDimension: string, required ScalableDimension terra.StringValue `hcl:"scalable_dimension,attr" validate:"required"` // Schedule: string, required Schedule terra.StringValue `hcl:"schedule,attr" validate:"required"` // ServiceNamespace: string, required ServiceNamespace terra.StringValue `hcl:"service_namespace,attr" validate:"required"` // StartTime: string, optional StartTime terra.StringValue `hcl:"start_time,attr"` // Timezone: string, optional Timezone terra.StringValue `hcl:"timezone,attr"` // ScalableTargetAction: required ScalableTargetAction *ScalableTargetAction `hcl:"scalable_target_action,block" validate:"required"` }
Args contains the configurations for aws_appautoscaling_scheduled_action.
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_appautoscaling_scheduled_action.
func (*Resource) Attributes ¶
func (aasa *Resource) Attributes() awsAppautoscalingScheduledActionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aasa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aasa *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 ScalableTargetAction ¶
type ScalableTargetAction struct { // MaxCapacity: string, optional MaxCapacity terra.StringValue `hcl:"max_capacity,attr"` // MinCapacity: string, optional MinCapacity terra.StringValue `hcl:"min_capacity,attr"` }
type ScalableTargetActionAttributes ¶
type ScalableTargetActionAttributes struct {
// contains filtered or unexported fields
}
func (ScalableTargetActionAttributes) InternalRef ¶
func (sta ScalableTargetActionAttributes) InternalRef() (terra.Reference, error)
func (ScalableTargetActionAttributes) InternalTokens ¶
func (sta ScalableTargetActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScalableTargetActionAttributes) InternalWithRef ¶
func (sta ScalableTargetActionAttributes) InternalWithRef(ref terra.Reference) ScalableTargetActionAttributes
func (ScalableTargetActionAttributes) MaxCapacity ¶
func (sta ScalableTargetActionAttributes) MaxCapacity() terra.StringValue
func (ScalableTargetActionAttributes) MinCapacity ¶
func (sta ScalableTargetActionAttributes) MinCapacity() terra.StringValue
Click to show internal directories.
Click to hide internal directories.