Documentation ¶
Index ¶
- type Args
- type DefaultCapacityProviderStrategy
- type DefaultCapacityProviderStrategyAttributes
- func (dcps DefaultCapacityProviderStrategyAttributes) Base() terra.NumberValue
- func (dcps DefaultCapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
- func (dcps DefaultCapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
- func (dcps DefaultCapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcps DefaultCapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) DefaultCapacityProviderStrategyAttributes
- func (dcps DefaultCapacityProviderStrategyAttributes) Weight() terra.NumberValue
- type DefaultCapacityProviderStrategyState
- type Resource
- func (aeccp *Resource) Attributes() awsEcsClusterCapacityProvidersAttributes
- func (aeccp *Resource) Configuration() interface{}
- func (aeccp *Resource) DependOn() terra.Reference
- func (aeccp *Resource) Dependencies() terra.Dependencies
- func (aeccp *Resource) ImportState(state io.Reader) error
- func (aeccp *Resource) LifecycleManagement() *terra.Lifecycle
- func (aeccp *Resource) LocalName() string
- func (aeccp *Resource) State() (*awsEcsClusterCapacityProvidersState, bool)
- func (aeccp *Resource) StateMust() *awsEcsClusterCapacityProvidersState
- func (aeccp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CapacityProviders: set of string, optional CapacityProviders terra.SetValue[terra.StringValue] `hcl:"capacity_providers,attr"` // ClusterName: string, required ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // DefaultCapacityProviderStrategy: min=0 DefaultCapacityProviderStrategy []DefaultCapacityProviderStrategy `hcl:"default_capacity_provider_strategy,block" validate:"min=0"` }
Args contains the configurations for aws_ecs_cluster_capacity_providers.
type DefaultCapacityProviderStrategy ¶
type DefaultCapacityProviderStrategy struct { // Base: number, optional Base terra.NumberValue `hcl:"base,attr"` // CapacityProvider: string, required CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type DefaultCapacityProviderStrategyAttributes ¶
type DefaultCapacityProviderStrategyAttributes struct {
// contains filtered or unexported fields
}
func (DefaultCapacityProviderStrategyAttributes) Base ¶
func (dcps DefaultCapacityProviderStrategyAttributes) Base() terra.NumberValue
func (DefaultCapacityProviderStrategyAttributes) CapacityProvider ¶
func (dcps DefaultCapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
func (DefaultCapacityProviderStrategyAttributes) InternalRef ¶
func (dcps DefaultCapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
func (DefaultCapacityProviderStrategyAttributes) InternalTokens ¶
func (dcps DefaultCapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultCapacityProviderStrategyAttributes) InternalWithRef ¶
func (dcps DefaultCapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) DefaultCapacityProviderStrategyAttributes
func (DefaultCapacityProviderStrategyAttributes) Weight ¶
func (dcps DefaultCapacityProviderStrategyAttributes) Weight() terra.NumberValue
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_ecs_cluster_capacity_providers.
func (*Resource) Attributes ¶
func (aeccp *Resource) Attributes() awsEcsClusterCapacityProvidersAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aeccp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aeccp *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.