Documentation ¶
Index ¶
- type AccessLogs
- type AccessLogsAttributes
- func (al AccessLogsAttributes) Bucket() terra.StringValue
- func (al AccessLogsAttributes) BucketPrefix() terra.StringValue
- func (al AccessLogsAttributes) Enabled() terra.BoolValue
- func (al AccessLogsAttributes) InternalRef() (terra.Reference, error)
- func (al AccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (al AccessLogsAttributes) InternalWithRef(ref terra.Reference) AccessLogsAttributes
- func (al AccessLogsAttributes) Interval() terra.NumberValue
- type AccessLogsState
- type Args
- type DataAccessLogsAttributes
- func (al DataAccessLogsAttributes) Bucket() terra.StringValue
- func (al DataAccessLogsAttributes) BucketPrefix() terra.StringValue
- func (al DataAccessLogsAttributes) Enabled() terra.BoolValue
- func (al DataAccessLogsAttributes) InternalRef() (terra.Reference, error)
- func (al DataAccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (al DataAccessLogsAttributes) InternalWithRef(ref terra.Reference) DataAccessLogsAttributes
- func (al DataAccessLogsAttributes) Interval() terra.NumberValue
- type DataAccessLogsState
- type DataArgs
- type DataHealthCheckAttributes
- func (hc DataHealthCheckAttributes) HealthyThreshold() terra.NumberValue
- func (hc DataHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc DataHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc DataHealthCheckAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckAttributes
- func (hc DataHealthCheckAttributes) Interval() terra.NumberValue
- func (hc DataHealthCheckAttributes) Target() terra.StringValue
- func (hc DataHealthCheckAttributes) Timeout() terra.NumberValue
- func (hc DataHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
- type DataHealthCheckState
- type DataListenerAttributes
- func (l DataListenerAttributes) InstancePort() terra.NumberValue
- func (l DataListenerAttributes) InstanceProtocol() terra.StringValue
- func (l DataListenerAttributes) InternalRef() (terra.Reference, error)
- func (l DataListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l DataListenerAttributes) InternalWithRef(ref terra.Reference) DataListenerAttributes
- func (l DataListenerAttributes) LbPort() terra.NumberValue
- func (l DataListenerAttributes) LbProtocol() terra.StringValue
- func (l DataListenerAttributes) SslCertificateId() terra.StringValue
- type DataListenerState
- type DataSource
- type HealthCheck
- type HealthCheckAttributes
- func (hc HealthCheckAttributes) HealthyThreshold() terra.NumberValue
- func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc HealthCheckAttributes) InternalWithRef(ref terra.Reference) HealthCheckAttributes
- func (hc HealthCheckAttributes) Interval() terra.NumberValue
- func (hc HealthCheckAttributes) Target() terra.StringValue
- func (hc HealthCheckAttributes) Timeout() terra.NumberValue
- func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
- type HealthCheckState
- type Listener
- type ListenerAttributes
- func (l ListenerAttributes) InstancePort() terra.NumberValue
- func (l ListenerAttributes) InstanceProtocol() terra.StringValue
- func (l ListenerAttributes) InternalRef() (terra.Reference, error)
- func (l ListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l ListenerAttributes) InternalWithRef(ref terra.Reference) ListenerAttributes
- func (l ListenerAttributes) LbPort() terra.NumberValue
- func (l ListenerAttributes) LbProtocol() terra.StringValue
- func (l ListenerAttributes) SslCertificateId() terra.StringValue
- type ListenerState
- type Resource
- func (ae *Resource) Attributes() awsElbAttributes
- func (ae *Resource) Configuration() interface{}
- func (ae *Resource) DependOn() terra.Reference
- func (ae *Resource) Dependencies() terra.Dependencies
- func (ae *Resource) ImportState(state io.Reader) error
- func (ae *Resource) LifecycleManagement() *terra.Lifecycle
- func (ae *Resource) LocalName() string
- func (ae *Resource) State() (*awsElbState, bool)
- func (ae *Resource) StateMust() *awsElbState
- func (ae *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogs ¶
type AccessLogs struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // BucketPrefix: string, optional BucketPrefix terra.StringValue `hcl:"bucket_prefix,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` }
type AccessLogsAttributes ¶
type AccessLogsAttributes struct {
// contains filtered or unexported fields
}
func (AccessLogsAttributes) Bucket ¶
func (al AccessLogsAttributes) Bucket() terra.StringValue
func (AccessLogsAttributes) BucketPrefix ¶
func (al AccessLogsAttributes) BucketPrefix() terra.StringValue
func (AccessLogsAttributes) Enabled ¶
func (al AccessLogsAttributes) Enabled() terra.BoolValue
func (AccessLogsAttributes) InternalRef ¶
func (al AccessLogsAttributes) InternalRef() (terra.Reference, error)
func (AccessLogsAttributes) InternalTokens ¶
func (al AccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessLogsAttributes) InternalWithRef ¶
func (al AccessLogsAttributes) InternalWithRef(ref terra.Reference) AccessLogsAttributes
func (AccessLogsAttributes) Interval ¶
func (al AccessLogsAttributes) Interval() terra.NumberValue
type AccessLogsState ¶
type Args ¶
type Args struct { // AvailabilityZones: set of string, optional AvailabilityZones terra.SetValue[terra.StringValue] `hcl:"availability_zones,attr"` // ConnectionDraining: bool, optional ConnectionDraining terra.BoolValue `hcl:"connection_draining,attr"` // ConnectionDrainingTimeout: number, optional ConnectionDrainingTimeout terra.NumberValue `hcl:"connection_draining_timeout,attr"` // CrossZoneLoadBalancing: bool, optional CrossZoneLoadBalancing terra.BoolValue `hcl:"cross_zone_load_balancing,attr"` // DesyncMitigationMode: string, optional DesyncMitigationMode terra.StringValue `hcl:"desync_mitigation_mode,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdleTimeout: number, optional IdleTimeout terra.NumberValue `hcl:"idle_timeout,attr"` // Instances: set of string, optional Instances terra.SetValue[terra.StringValue] `hcl:"instances,attr"` // Internal: bool, optional Internal terra.BoolValue `hcl:"internal,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // SourceSecurityGroup: string, optional SourceSecurityGroup terra.StringValue `hcl:"source_security_group,attr"` // Subnets: set of string, optional Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr"` // 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"` // AccessLogs: optional AccessLogs *AccessLogs `hcl:"access_logs,block"` // HealthCheck: optional HealthCheck *HealthCheck `hcl:"health_check,block"` // Listener: min=1 Listener []Listener `hcl:"listener,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_elb.
type DataAccessLogsAttributes ¶
type DataAccessLogsAttributes struct {
// contains filtered or unexported fields
}
func (DataAccessLogsAttributes) Bucket ¶
func (al DataAccessLogsAttributes) Bucket() terra.StringValue
func (DataAccessLogsAttributes) BucketPrefix ¶
func (al DataAccessLogsAttributes) BucketPrefix() terra.StringValue
func (DataAccessLogsAttributes) Enabled ¶
func (al DataAccessLogsAttributes) Enabled() terra.BoolValue
func (DataAccessLogsAttributes) InternalRef ¶
func (al DataAccessLogsAttributes) InternalRef() (terra.Reference, error)
func (DataAccessLogsAttributes) InternalTokens ¶
func (al DataAccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAccessLogsAttributes) InternalWithRef ¶
func (al DataAccessLogsAttributes) InternalWithRef(ref terra.Reference) DataAccessLogsAttributes
func (DataAccessLogsAttributes) Interval ¶
func (al DataAccessLogsAttributes) Interval() terra.NumberValue
type DataAccessLogsState ¶
type DataArgs ¶
type DataArgs 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"` }
DataArgs contains the configurations for aws_elb.
type DataHealthCheckAttributes ¶
type DataHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (DataHealthCheckAttributes) HealthyThreshold ¶
func (hc DataHealthCheckAttributes) HealthyThreshold() terra.NumberValue
func (DataHealthCheckAttributes) InternalRef ¶
func (hc DataHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (DataHealthCheckAttributes) InternalTokens ¶
func (hc DataHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHealthCheckAttributes) InternalWithRef ¶
func (hc DataHealthCheckAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckAttributes
func (DataHealthCheckAttributes) Interval ¶
func (hc DataHealthCheckAttributes) Interval() terra.NumberValue
func (DataHealthCheckAttributes) Target ¶
func (hc DataHealthCheckAttributes) Target() terra.StringValue
func (DataHealthCheckAttributes) Timeout ¶
func (hc DataHealthCheckAttributes) Timeout() terra.NumberValue
func (DataHealthCheckAttributes) UnhealthyThreshold ¶
func (hc DataHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
type DataHealthCheckState ¶
type DataListenerAttributes ¶
type DataListenerAttributes struct {
// contains filtered or unexported fields
}
func (DataListenerAttributes) InstancePort ¶
func (l DataListenerAttributes) InstancePort() terra.NumberValue
func (DataListenerAttributes) InstanceProtocol ¶
func (l DataListenerAttributes) InstanceProtocol() terra.StringValue
func (DataListenerAttributes) InternalRef ¶
func (l DataListenerAttributes) InternalRef() (terra.Reference, error)
func (DataListenerAttributes) InternalTokens ¶
func (l DataListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataListenerAttributes) InternalWithRef ¶
func (l DataListenerAttributes) InternalWithRef(ref terra.Reference) DataListenerAttributes
func (DataListenerAttributes) LbPort ¶
func (l DataListenerAttributes) LbPort() terra.NumberValue
func (DataListenerAttributes) LbProtocol ¶
func (l DataListenerAttributes) LbProtocol() terra.StringValue
func (DataListenerAttributes) SslCertificateId ¶
func (l DataListenerAttributes) SslCertificateId() terra.StringValue
type DataListenerState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_elb.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ae *DataSource) Attributes() dataAwsElbAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ae *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ae *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ae *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type HealthCheck ¶
type HealthCheck struct { // HealthyThreshold: number, required HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr" validate:"required"` // Interval: number, required Interval terra.NumberValue `hcl:"interval,attr" validate:"required"` // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` // Timeout: number, required Timeout terra.NumberValue `hcl:"timeout,attr" validate:"required"` // UnhealthyThreshold: number, required UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr" validate:"required"` }
type HealthCheckAttributes ¶
type HealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (HealthCheckAttributes) HealthyThreshold ¶
func (hc HealthCheckAttributes) HealthyThreshold() terra.NumberValue
func (HealthCheckAttributes) InternalRef ¶
func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)
func (HealthCheckAttributes) InternalTokens ¶
func (hc HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HealthCheckAttributes) InternalWithRef ¶
func (hc HealthCheckAttributes) InternalWithRef(ref terra.Reference) HealthCheckAttributes
func (HealthCheckAttributes) Interval ¶
func (hc HealthCheckAttributes) Interval() terra.NumberValue
func (HealthCheckAttributes) Target ¶
func (hc HealthCheckAttributes) Target() terra.StringValue
func (HealthCheckAttributes) Timeout ¶
func (hc HealthCheckAttributes) Timeout() terra.NumberValue
func (HealthCheckAttributes) UnhealthyThreshold ¶
func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
type HealthCheckState ¶
type Listener ¶
type Listener struct { // InstancePort: number, required InstancePort terra.NumberValue `hcl:"instance_port,attr" validate:"required"` // InstanceProtocol: string, required InstanceProtocol terra.StringValue `hcl:"instance_protocol,attr" validate:"required"` // LbPort: number, required LbPort terra.NumberValue `hcl:"lb_port,attr" validate:"required"` // LbProtocol: string, required LbProtocol terra.StringValue `hcl:"lb_protocol,attr" validate:"required"` // SslCertificateId: string, optional SslCertificateId terra.StringValue `hcl:"ssl_certificate_id,attr"` }
type ListenerAttributes ¶
type ListenerAttributes struct {
// contains filtered or unexported fields
}
func (ListenerAttributes) InstancePort ¶
func (l ListenerAttributes) InstancePort() terra.NumberValue
func (ListenerAttributes) InstanceProtocol ¶
func (l ListenerAttributes) InstanceProtocol() terra.StringValue
func (ListenerAttributes) InternalRef ¶
func (l ListenerAttributes) InternalRef() (terra.Reference, error)
func (ListenerAttributes) InternalTokens ¶
func (l ListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ListenerAttributes) InternalWithRef ¶
func (l ListenerAttributes) InternalWithRef(ref terra.Reference) ListenerAttributes
func (ListenerAttributes) LbPort ¶
func (l ListenerAttributes) LbPort() terra.NumberValue
func (ListenerAttributes) LbProtocol ¶
func (l ListenerAttributes) LbProtocol() terra.StringValue
func (ListenerAttributes) SslCertificateId ¶
func (l ListenerAttributes) SslCertificateId() terra.StringValue
type ListenerState ¶
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_elb.
func (*Resource) Attributes ¶
func (ae *Resource) Attributes() awsElbAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ae *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ae *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"` // Update: string, optional Update terra.StringValue `hcl:"update,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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue