Documentation ¶
Index ¶
- type Args
- type CapacityProviderStrategy
- type CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
- func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
- func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
- func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
- type CapacityProviderStrategyState
- type LoadBalancer
- type LoadBalancerAttributes
- func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
- func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
- func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
- func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
- func (lb LoadBalancerAttributes) LoadBalancerName() terra.StringValue
- func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
- type LoadBalancerState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type Resource
- func (aets *Resource) Attributes() awsEcsTaskSetAttributes
- func (aets *Resource) Configuration() interface{}
- func (aets *Resource) DependOn() terra.Reference
- func (aets *Resource) Dependencies() terra.Dependencies
- func (aets *Resource) ImportState(state io.Reader) error
- func (aets *Resource) LifecycleManagement() *terra.Lifecycle
- func (aets *Resource) LocalName() string
- func (aets *Resource) State() (*awsEcsTaskSetState, bool)
- func (aets *Resource) StateMust() *awsEcsTaskSetState
- func (aets *Resource) Type() string
- type Scale
- type ScaleAttributes
- func (s ScaleAttributes) InternalRef() (terra.Reference, error)
- func (s ScaleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScaleAttributes) InternalWithRef(ref terra.Reference) ScaleAttributes
- func (s ScaleAttributes) Unit() terra.StringValue
- func (s ScaleAttributes) Value() terra.NumberValue
- type ScaleState
- type ServiceRegistries
- type ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
- func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
- func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
- func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
- func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
- type ServiceRegistriesState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // ExternalId: string, optional ExternalId terra.StringValue `hcl:"external_id,attr"` // ForceDelete: bool, optional ForceDelete terra.BoolValue `hcl:"force_delete,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LaunchType: string, optional LaunchType terra.StringValue `hcl:"launch_type,attr"` // PlatformVersion: string, optional PlatformVersion terra.StringValue `hcl:"platform_version,attr"` // Service: string, required Service terra.StringValue `hcl:"service,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"` // TaskDefinition: string, required TaskDefinition terra.StringValue `hcl:"task_definition,attr" validate:"required"` // WaitUntilStable: bool, optional WaitUntilStable terra.BoolValue `hcl:"wait_until_stable,attr"` // WaitUntilStableTimeout: string, optional WaitUntilStableTimeout terra.StringValue `hcl:"wait_until_stable_timeout,attr"` // CapacityProviderStrategy: min=0 CapacityProviderStrategy []CapacityProviderStrategy `hcl:"capacity_provider_strategy,block" validate:"min=0"` // LoadBalancer: min=0 LoadBalancer []LoadBalancer `hcl:"load_balancer,block" validate:"min=0"` // NetworkConfiguration: optional NetworkConfiguration *NetworkConfiguration `hcl:"network_configuration,block"` // Scale: optional Scale *Scale `hcl:"scale,block"` // ServiceRegistries: optional ServiceRegistries *ServiceRegistries `hcl:"service_registries,block"` }
Args contains the configurations for aws_ecs_task_set.
type CapacityProviderStrategy ¶
type CapacityProviderStrategy struct { // Base: number, optional Base terra.NumberValue `hcl:"base,attr"` // CapacityProvider: string, required CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"` // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type CapacityProviderStrategyAttributes ¶
type CapacityProviderStrategyAttributes struct {
// contains filtered or unexported fields
}
func (CapacityProviderStrategyAttributes) Base ¶
func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
func (CapacityProviderStrategyAttributes) CapacityProvider ¶
func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
func (CapacityProviderStrategyAttributes) InternalRef ¶
func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
func (CapacityProviderStrategyAttributes) InternalTokens ¶
func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityProviderStrategyAttributes) InternalWithRef ¶
func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
func (CapacityProviderStrategyAttributes) Weight ¶
func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
type LoadBalancer ¶
type LoadBalancer struct { // ContainerName: string, required ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"` // ContainerPort: number, optional ContainerPort terra.NumberValue `hcl:"container_port,attr"` // LoadBalancerName: string, optional LoadBalancerName terra.StringValue `hcl:"load_balancer_name,attr"` // TargetGroupArn: string, optional TargetGroupArn terra.StringValue `hcl:"target_group_arn,attr"` }
type LoadBalancerAttributes ¶
type LoadBalancerAttributes struct {
// contains filtered or unexported fields
}
func (LoadBalancerAttributes) ContainerName ¶
func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
func (LoadBalancerAttributes) ContainerPort ¶
func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
func (LoadBalancerAttributes) InternalRef ¶
func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
func (LoadBalancerAttributes) InternalTokens ¶
func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBalancerAttributes) InternalWithRef ¶
func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
func (LoadBalancerAttributes) LoadBalancerName ¶
func (lb LoadBalancerAttributes) LoadBalancerName() terra.StringValue
func (LoadBalancerAttributes) TargetGroupArn ¶
func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
type LoadBalancerState ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // AssignPublicIp: bool, optional AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // Subnets: set of string, required Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"` }
type NetworkConfigurationAttributes ¶
type NetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigurationAttributes) AssignPublicIp ¶
func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
func (NetworkConfigurationAttributes) InternalRef ¶
func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroups ¶
func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) Subnets ¶
func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
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_task_set.
func (*Resource) Attributes ¶
func (aets *Resource) Attributes() awsEcsTaskSetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aets *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aets *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 Scale ¶
type Scale struct { // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type ScaleAttributes ¶
type ScaleAttributes struct {
// contains filtered or unexported fields
}
func (ScaleAttributes) InternalRef ¶
func (s ScaleAttributes) InternalRef() (terra.Reference, error)
func (ScaleAttributes) InternalTokens ¶
func (s ScaleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScaleAttributes) InternalWithRef ¶
func (s ScaleAttributes) InternalWithRef(ref terra.Reference) ScaleAttributes
func (ScaleAttributes) Unit ¶
func (s ScaleAttributes) Unit() terra.StringValue
func (ScaleAttributes) Value ¶
func (s ScaleAttributes) Value() terra.NumberValue
type ScaleState ¶
type ServiceRegistries ¶
type ServiceRegistries struct { // ContainerName: string, optional ContainerName terra.StringValue `hcl:"container_name,attr"` // ContainerPort: number, optional ContainerPort terra.NumberValue `hcl:"container_port,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // RegistryArn: string, required RegistryArn terra.StringValue `hcl:"registry_arn,attr" validate:"required"` }
type ServiceRegistriesAttributes ¶
type ServiceRegistriesAttributes struct {
// contains filtered or unexported fields
}
func (ServiceRegistriesAttributes) ContainerName ¶
func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
func (ServiceRegistriesAttributes) ContainerPort ¶
func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
func (ServiceRegistriesAttributes) InternalRef ¶
func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
func (ServiceRegistriesAttributes) InternalTokens ¶
func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceRegistriesAttributes) InternalWithRef ¶
func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
func (ServiceRegistriesAttributes) Port ¶
func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
func (ServiceRegistriesAttributes) RegistryArn ¶
func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
Click to show internal directories.
Click to hide internal directories.