Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataFairSharePolicyAttributes
- func (fsp DataFairSharePolicyAttributes) ComputeReservation() terra.NumberValue
- func (fsp DataFairSharePolicyAttributes) InternalRef() (terra.Reference, error)
- func (fsp DataFairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fsp DataFairSharePolicyAttributes) InternalWithRef(ref terra.Reference) DataFairSharePolicyAttributes
- func (fsp DataFairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
- func (fsp DataFairSharePolicyAttributes) ShareDistribution() terra.SetValue[DataFairSharePolicyShareDistributionAttributes]
- type DataFairSharePolicyShareDistributionAttributes
- func (sd DataFairSharePolicyShareDistributionAttributes) InternalRef() (terra.Reference, error)
- func (sd DataFairSharePolicyShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd DataFairSharePolicyShareDistributionAttributes) InternalWithRef(ref terra.Reference) DataFairSharePolicyShareDistributionAttributes
- func (sd DataFairSharePolicyShareDistributionAttributes) ShareIdentifier() terra.StringValue
- func (sd DataFairSharePolicyShareDistributionAttributes) WeightFactor() terra.NumberValue
- type DataFairSharePolicyShareDistributionState
- type DataFairSharePolicyState
- type DataSource
- type FairSharePolicy
- type FairSharePolicyAttributes
- func (fsp FairSharePolicyAttributes) ComputeReservation() terra.NumberValue
- func (fsp FairSharePolicyAttributes) InternalRef() (terra.Reference, error)
- func (fsp FairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fsp FairSharePolicyAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyAttributes
- func (fsp FairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
- func (fsp FairSharePolicyAttributes) ShareDistribution() terra.SetValue[FairSharePolicyShareDistributionAttributes]
- type FairSharePolicyShareDistribution
- type FairSharePolicyShareDistributionAttributes
- func (sd FairSharePolicyShareDistributionAttributes) InternalRef() (terra.Reference, error)
- func (sd FairSharePolicyShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd FairSharePolicyShareDistributionAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyShareDistributionAttributes
- func (sd FairSharePolicyShareDistributionAttributes) ShareIdentifier() terra.StringValue
- func (sd FairSharePolicyShareDistributionAttributes) WeightFactor() terra.NumberValue
- type FairSharePolicyShareDistributionState
- type FairSharePolicyState
- type Resource
- func (absp *Resource) Attributes() awsBatchSchedulingPolicyAttributes
- func (absp *Resource) Configuration() interface{}
- func (absp *Resource) DependOn() terra.Reference
- func (absp *Resource) Dependencies() terra.Dependencies
- func (absp *Resource) ImportState(state io.Reader) error
- func (absp *Resource) LifecycleManagement() *terra.Lifecycle
- func (absp *Resource) LocalName() string
- func (absp *Resource) State() (*awsBatchSchedulingPolicyState, bool)
- func (absp *Resource) StateMust() *awsBatchSchedulingPolicyState
- func (absp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,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"` FairSharePolicy *FairSharePolicy `hcl:"fair_share_policy,block"` }
Args contains the configurations for aws_batch_scheduling_policy.
type DataArgs ¶
type DataArgs struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_batch_scheduling_policy.
type DataFairSharePolicyAttributes ¶
type DataFairSharePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataFairSharePolicyAttributes) ComputeReservation ¶
func (fsp DataFairSharePolicyAttributes) ComputeReservation() terra.NumberValue
func (DataFairSharePolicyAttributes) InternalRef ¶
func (fsp DataFairSharePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataFairSharePolicyAttributes) InternalTokens ¶
func (fsp DataFairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFairSharePolicyAttributes) InternalWithRef ¶
func (fsp DataFairSharePolicyAttributes) InternalWithRef(ref terra.Reference) DataFairSharePolicyAttributes
func (DataFairSharePolicyAttributes) ShareDecaySeconds ¶
func (fsp DataFairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
func (DataFairSharePolicyAttributes) ShareDistribution ¶
func (fsp DataFairSharePolicyAttributes) ShareDistribution() terra.SetValue[DataFairSharePolicyShareDistributionAttributes]
type DataFairSharePolicyShareDistributionAttributes ¶
type DataFairSharePolicyShareDistributionAttributes struct {
// contains filtered or unexported fields
}
func (DataFairSharePolicyShareDistributionAttributes) InternalRef ¶
func (sd DataFairSharePolicyShareDistributionAttributes) InternalRef() (terra.Reference, error)
func (DataFairSharePolicyShareDistributionAttributes) InternalTokens ¶
func (sd DataFairSharePolicyShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFairSharePolicyShareDistributionAttributes) InternalWithRef ¶
func (sd DataFairSharePolicyShareDistributionAttributes) InternalWithRef(ref terra.Reference) DataFairSharePolicyShareDistributionAttributes
func (DataFairSharePolicyShareDistributionAttributes) ShareIdentifier ¶
func (sd DataFairSharePolicyShareDistributionAttributes) ShareIdentifier() terra.StringValue
func (DataFairSharePolicyShareDistributionAttributes) WeightFactor ¶
func (sd DataFairSharePolicyShareDistributionAttributes) WeightFactor() terra.NumberValue
type DataFairSharePolicyShareDistributionState ¶
type DataFairSharePolicyShareDistributionState struct {}
type DataFairSharePolicyState ¶
type DataFairSharePolicyState struct {}
type DataSource ¶
DataSource represents the Terraform data resource aws_batch_scheduling_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (absp *DataSource) Attributes() dataAwsBatchSchedulingPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (absp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (absp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (absp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type FairSharePolicy ¶
type FairSharePolicy struct { terra.NumberValue `hcl:"compute_reservation,attr"` ShareDecaySeconds terra.NumberValue `hcl:"share_decay_seconds,attr"` ShareDistribution []FairSharePolicyShareDistribution `hcl:"share_distribution,block" validate:"min=0,max=500"` }ComputeReservation
type FairSharePolicyAttributes ¶
type FairSharePolicyAttributes struct {
// contains filtered or unexported fields
}
func (FairSharePolicyAttributes) ComputeReservation ¶
func (fsp FairSharePolicyAttributes) ComputeReservation() terra.NumberValue
func (FairSharePolicyAttributes) InternalRef ¶
func (fsp FairSharePolicyAttributes) InternalRef() (terra.Reference, error)
func (FairSharePolicyAttributes) InternalTokens ¶
func (fsp FairSharePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FairSharePolicyAttributes) InternalWithRef ¶
func (fsp FairSharePolicyAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyAttributes
func (FairSharePolicyAttributes) ShareDecaySeconds ¶
func (fsp FairSharePolicyAttributes) ShareDecaySeconds() terra.NumberValue
func (FairSharePolicyAttributes) ShareDistribution ¶
func (fsp FairSharePolicyAttributes) ShareDistribution() terra.SetValue[FairSharePolicyShareDistributionAttributes]
type FairSharePolicyShareDistribution ¶
type FairSharePolicyShareDistribution struct { terra.StringValue `hcl:"share_identifier,attr" validate:"required"` WeightFactor terra.NumberValue `hcl:"weight_factor,attr"` }ShareIdentifier
type FairSharePolicyShareDistributionAttributes ¶
type FairSharePolicyShareDistributionAttributes struct {
// contains filtered or unexported fields
}
func (FairSharePolicyShareDistributionAttributes) InternalRef ¶
func (sd FairSharePolicyShareDistributionAttributes) InternalRef() (terra.Reference, error)
func (FairSharePolicyShareDistributionAttributes) InternalTokens ¶
func (sd FairSharePolicyShareDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FairSharePolicyShareDistributionAttributes) InternalWithRef ¶
func (sd FairSharePolicyShareDistributionAttributes) InternalWithRef(ref terra.Reference) FairSharePolicyShareDistributionAttributes
func (FairSharePolicyShareDistributionAttributes) ShareIdentifier ¶
func (sd FairSharePolicyShareDistributionAttributes) ShareIdentifier() terra.StringValue
func (FairSharePolicyShareDistributionAttributes) WeightFactor ¶
func (sd FairSharePolicyShareDistributionAttributes) WeightFactor() terra.NumberValue
type FairSharePolicyShareDistributionState ¶
type FairSharePolicyShareDistributionState struct {}
type FairSharePolicyState ¶
type FairSharePolicyState struct {}
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_batch_scheduling_policy.
func (*Resource) Attributes ¶
func (absp *Resource) Attributes() awsBatchSchedulingPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (absp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (absp *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.