Documentation ¶
Index ¶
- type Args
- type Container
- type ContainerAttributes
- func (c ContainerAttributes) Command() terra.ListValue[terra.StringValue]
- func (c ContainerAttributes) ContainerName() terra.StringValue
- func (c ContainerAttributes) Environment() terra.MapValue[terra.StringValue]
- func (c ContainerAttributes) Image() terra.StringValue
- func (c ContainerAttributes) InternalRef() (terra.Reference, error)
- func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes
- func (c ContainerAttributes) Ports() terra.MapValue[terra.StringValue]
- type ContainerState
- type PublicEndpoint
- type PublicEndpointAttributes
- func (pe PublicEndpointAttributes) ContainerName() terra.StringValue
- func (pe PublicEndpointAttributes) ContainerPort() terra.NumberValue
- func (pe PublicEndpointAttributes) HealthCheck() terra.ListValue[PublicEndpointHealthCheckAttributes]
- func (pe PublicEndpointAttributes) InternalRef() (terra.Reference, error)
- func (pe PublicEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pe PublicEndpointAttributes) InternalWithRef(ref terra.Reference) PublicEndpointAttributes
- type PublicEndpointHealthCheck
- type PublicEndpointHealthCheckAttributes
- func (hc PublicEndpointHealthCheckAttributes) HealthyThreshold() terra.NumberValue
- func (hc PublicEndpointHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc PublicEndpointHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc PublicEndpointHealthCheckAttributes) InternalWithRef(ref terra.Reference) PublicEndpointHealthCheckAttributes
- func (hc PublicEndpointHealthCheckAttributes) IntervalSeconds() terra.NumberValue
- func (hc PublicEndpointHealthCheckAttributes) Path() terra.StringValue
- func (hc PublicEndpointHealthCheckAttributes) SuccessCodes() terra.StringValue
- func (hc PublicEndpointHealthCheckAttributes) TimeoutSeconds() terra.NumberValue
- func (hc PublicEndpointHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
- type PublicEndpointHealthCheckState
- type PublicEndpointState
- type Resource
- func (alcsdv *Resource) Attributes() awsLightsailContainerServiceDeploymentVersionAttributes
- func (alcsdv *Resource) Configuration() interface{}
- func (alcsdv *Resource) DependOn() terra.Reference
- func (alcsdv *Resource) Dependencies() terra.Dependencies
- func (alcsdv *Resource) ImportState(state io.Reader) error
- func (alcsdv *Resource) LifecycleManagement() *terra.Lifecycle
- func (alcsdv *Resource) LocalName() string
- func (alcsdv *Resource) State() (*awsLightsailContainerServiceDeploymentVersionState, bool)
- func (alcsdv *Resource) StateMust() *awsLightsailContainerServiceDeploymentVersionState
- func (alcsdv *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
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"` // ServiceName: string, required ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"` // Container: min=1,max=53 Container []Container `hcl:"container,block" validate:"min=1,max=53"` // PublicEndpoint: optional PublicEndpoint *PublicEndpoint `hcl:"public_endpoint,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_lightsail_container_service_deployment_version.
type Container ¶
type Container struct { // Command: list of string, optional Command terra.ListValue[terra.StringValue] `hcl:"command,attr"` // ContainerName: string, required ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"` // Environment: map of string, optional Environment terra.MapValue[terra.StringValue] `hcl:"environment,attr"` // Image: string, required Image terra.StringValue `hcl:"image,attr" validate:"required"` // Ports: map of string, optional Ports terra.MapValue[terra.StringValue] `hcl:"ports,attr"` }
type ContainerAttributes ¶
type ContainerAttributes struct {
// contains filtered or unexported fields
}
func (ContainerAttributes) Command ¶
func (c ContainerAttributes) Command() terra.ListValue[terra.StringValue]
func (ContainerAttributes) ContainerName ¶
func (c ContainerAttributes) ContainerName() terra.StringValue
func (ContainerAttributes) Environment ¶
func (c ContainerAttributes) Environment() terra.MapValue[terra.StringValue]
func (ContainerAttributes) Image ¶
func (c ContainerAttributes) Image() terra.StringValue
func (ContainerAttributes) InternalRef ¶
func (c ContainerAttributes) InternalRef() (terra.Reference, error)
func (ContainerAttributes) InternalTokens ¶
func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerAttributes) InternalWithRef ¶
func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes
func (ContainerAttributes) Ports ¶
func (c ContainerAttributes) Ports() terra.MapValue[terra.StringValue]
type ContainerState ¶
type PublicEndpoint ¶
type PublicEndpoint struct { // ContainerName: string, required ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"` // ContainerPort: number, required ContainerPort terra.NumberValue `hcl:"container_port,attr" validate:"required"` // PublicEndpointHealthCheck: required HealthCheck *PublicEndpointHealthCheck `hcl:"health_check,block" validate:"required"` }
type PublicEndpointAttributes ¶
type PublicEndpointAttributes struct {
// contains filtered or unexported fields
}
func (PublicEndpointAttributes) ContainerName ¶
func (pe PublicEndpointAttributes) ContainerName() terra.StringValue
func (PublicEndpointAttributes) ContainerPort ¶
func (pe PublicEndpointAttributes) ContainerPort() terra.NumberValue
func (PublicEndpointAttributes) HealthCheck ¶
func (pe PublicEndpointAttributes) HealthCheck() terra.ListValue[PublicEndpointHealthCheckAttributes]
func (PublicEndpointAttributes) InternalRef ¶
func (pe PublicEndpointAttributes) InternalRef() (terra.Reference, error)
func (PublicEndpointAttributes) InternalTokens ¶
func (pe PublicEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PublicEndpointAttributes) InternalWithRef ¶
func (pe PublicEndpointAttributes) InternalWithRef(ref terra.Reference) PublicEndpointAttributes
type PublicEndpointHealthCheck ¶
type PublicEndpointHealthCheck struct { // HealthyThreshold: number, optional HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"` // IntervalSeconds: number, optional IntervalSeconds terra.NumberValue `hcl:"interval_seconds,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // SuccessCodes: string, optional SuccessCodes terra.StringValue `hcl:"success_codes,attr"` // TimeoutSeconds: number, optional TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"` // UnhealthyThreshold: number, optional UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"` }
type PublicEndpointHealthCheckAttributes ¶
type PublicEndpointHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (PublicEndpointHealthCheckAttributes) HealthyThreshold ¶
func (hc PublicEndpointHealthCheckAttributes) HealthyThreshold() terra.NumberValue
func (PublicEndpointHealthCheckAttributes) InternalRef ¶
func (hc PublicEndpointHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (PublicEndpointHealthCheckAttributes) InternalTokens ¶
func (hc PublicEndpointHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PublicEndpointHealthCheckAttributes) InternalWithRef ¶
func (hc PublicEndpointHealthCheckAttributes) InternalWithRef(ref terra.Reference) PublicEndpointHealthCheckAttributes
func (PublicEndpointHealthCheckAttributes) IntervalSeconds ¶
func (hc PublicEndpointHealthCheckAttributes) IntervalSeconds() terra.NumberValue
func (PublicEndpointHealthCheckAttributes) Path ¶
func (hc PublicEndpointHealthCheckAttributes) Path() terra.StringValue
func (PublicEndpointHealthCheckAttributes) SuccessCodes ¶
func (hc PublicEndpointHealthCheckAttributes) SuccessCodes() terra.StringValue
func (PublicEndpointHealthCheckAttributes) TimeoutSeconds ¶
func (hc PublicEndpointHealthCheckAttributes) TimeoutSeconds() terra.NumberValue
func (PublicEndpointHealthCheckAttributes) UnhealthyThreshold ¶
func (hc PublicEndpointHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
type PublicEndpointHealthCheckState ¶
type PublicEndpointHealthCheckState struct { HealthyThreshold float64 `json:"healthy_threshold"` IntervalSeconds float64 `json:"interval_seconds"` Path string `json:"path"` SuccessCodes string `json:"success_codes"` TimeoutSeconds float64 `json:"timeout_seconds"` UnhealthyThreshold float64 `json:"unhealthy_threshold"` }
type PublicEndpointState ¶
type PublicEndpointState struct { ContainerName string `json:"container_name"` ContainerPort float64 `json:"container_port"` HealthCheck []PublicEndpointHealthCheckState `json:"health_check"` }
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_lightsail_container_service_deployment_version.
func (*Resource) Attributes ¶
func (alcsdv *Resource) Attributes() awsLightsailContainerServiceDeploymentVersionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alcsdv *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alcsdv *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
type TimeoutsState ¶
type TimeoutsState struct {
Create string `json:"create"`
}
Click to show internal directories.
Click to hide internal directories.