Documentation ¶
Index ¶
- type Args
- type ComputeLimits
- type ComputeLimitsAttributes
- func (cl ComputeLimitsAttributes) InternalRef() (terra.Reference, error)
- func (cl ComputeLimitsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cl ComputeLimitsAttributes) InternalWithRef(ref terra.Reference) ComputeLimitsAttributes
- func (cl ComputeLimitsAttributes) MaximumCapacityUnits() terra.NumberValue
- func (cl ComputeLimitsAttributes) MaximumCoreCapacityUnits() terra.NumberValue
- func (cl ComputeLimitsAttributes) MaximumOndemandCapacityUnits() terra.NumberValue
- func (cl ComputeLimitsAttributes) MinimumCapacityUnits() terra.NumberValue
- func (cl ComputeLimitsAttributes) UnitType() terra.StringValue
- type ComputeLimitsState
- type Resource
- func (aemsp *Resource) Attributes() awsEmrManagedScalingPolicyAttributes
- func (aemsp *Resource) Configuration() interface{}
- func (aemsp *Resource) DependOn() terra.Reference
- func (aemsp *Resource) Dependencies() terra.Dependencies
- func (aemsp *Resource) ImportState(state io.Reader) error
- func (aemsp *Resource) LifecycleManagement() *terra.Lifecycle
- func (aemsp *Resource) LocalName() string
- func (aemsp *Resource) State() (*awsEmrManagedScalingPolicyState, bool)
- func (aemsp *Resource) StateMust() *awsEmrManagedScalingPolicyState
- func (aemsp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ClusterId: string, required ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ComputeLimits: min=1 ComputeLimits []ComputeLimits `hcl:"compute_limits,block" validate:"min=1"` }
Args contains the configurations for aws_emr_managed_scaling_policy.
type ComputeLimits ¶
type ComputeLimits struct { // MaximumCapacityUnits: number, required MaximumCapacityUnits terra.NumberValue `hcl:"maximum_capacity_units,attr" validate:"required"` // MaximumCoreCapacityUnits: number, optional MaximumCoreCapacityUnits terra.NumberValue `hcl:"maximum_core_capacity_units,attr"` // MaximumOndemandCapacityUnits: number, optional MaximumOndemandCapacityUnits terra.NumberValue `hcl:"maximum_ondemand_capacity_units,attr"` // MinimumCapacityUnits: number, required MinimumCapacityUnits terra.NumberValue `hcl:"minimum_capacity_units,attr" validate:"required"` // UnitType: string, required UnitType terra.StringValue `hcl:"unit_type,attr" validate:"required"` }
type ComputeLimitsAttributes ¶
type ComputeLimitsAttributes struct {
// contains filtered or unexported fields
}
func (ComputeLimitsAttributes) InternalRef ¶
func (cl ComputeLimitsAttributes) InternalRef() (terra.Reference, error)
func (ComputeLimitsAttributes) InternalTokens ¶
func (cl ComputeLimitsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ComputeLimitsAttributes) InternalWithRef ¶
func (cl ComputeLimitsAttributes) InternalWithRef(ref terra.Reference) ComputeLimitsAttributes
func (ComputeLimitsAttributes) MaximumCapacityUnits ¶
func (cl ComputeLimitsAttributes) MaximumCapacityUnits() terra.NumberValue
func (ComputeLimitsAttributes) MaximumCoreCapacityUnits ¶
func (cl ComputeLimitsAttributes) MaximumCoreCapacityUnits() terra.NumberValue
func (ComputeLimitsAttributes) MaximumOndemandCapacityUnits ¶
func (cl ComputeLimitsAttributes) MaximumOndemandCapacityUnits() terra.NumberValue
func (ComputeLimitsAttributes) MinimumCapacityUnits ¶
func (cl ComputeLimitsAttributes) MinimumCapacityUnits() terra.NumberValue
func (ComputeLimitsAttributes) UnitType ¶
func (cl ComputeLimitsAttributes) UnitType() terra.StringValue
type ComputeLimitsState ¶
type ComputeLimitsState struct { MaximumCapacityUnits float64 `json:"maximum_capacity_units"` MaximumCoreCapacityUnits float64 `json:"maximum_core_capacity_units"` MaximumOndemandCapacityUnits float64 `json:"maximum_ondemand_capacity_units"` MinimumCapacityUnits float64 `json:"minimum_capacity_units"` UnitType string `json:"unit_type"` }
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_emr_managed_scaling_policy.
func (*Resource) Attributes ¶
func (aemsp *Resource) Attributes() awsEmrManagedScalingPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aemsp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aemsp *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.
Click to show internal directories.
Click to hide internal directories.