Documentation ¶
Index ¶
- type AccessLogs
- type AccessLogsAttributes
- func (al AccessLogsAttributes) Bucket() 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) Prefix() terra.StringValue
- type AccessLogsState
- type Args
- type ConnectionLogs
- type ConnectionLogsAttributes
- func (cl ConnectionLogsAttributes) Bucket() terra.StringValue
- func (cl ConnectionLogsAttributes) Enabled() terra.BoolValue
- func (cl ConnectionLogsAttributes) InternalRef() (terra.Reference, error)
- func (cl ConnectionLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cl ConnectionLogsAttributes) InternalWithRef(ref terra.Reference) ConnectionLogsAttributes
- func (cl ConnectionLogsAttributes) Prefix() terra.StringValue
- type ConnectionLogsState
- type DataAccessLogsAttributes
- func (al DataAccessLogsAttributes) Bucket() 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) Prefix() terra.StringValue
- type DataAccessLogsState
- type DataArgs
- type DataConnectionLogsAttributes
- func (cl DataConnectionLogsAttributes) Bucket() terra.StringValue
- func (cl DataConnectionLogsAttributes) Enabled() terra.BoolValue
- func (cl DataConnectionLogsAttributes) InternalRef() (terra.Reference, error)
- func (cl DataConnectionLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cl DataConnectionLogsAttributes) InternalWithRef(ref terra.Reference) DataConnectionLogsAttributes
- func (cl DataConnectionLogsAttributes) Prefix() terra.StringValue
- type DataConnectionLogsState
- type DataSource
- type DataSubnetMappingAttributes
- func (sm DataSubnetMappingAttributes) AllocationId() terra.StringValue
- func (sm DataSubnetMappingAttributes) InternalRef() (terra.Reference, error)
- func (sm DataSubnetMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sm DataSubnetMappingAttributes) InternalWithRef(ref terra.Reference) DataSubnetMappingAttributes
- func (sm DataSubnetMappingAttributes) Ipv6Address() terra.StringValue
- func (sm DataSubnetMappingAttributes) OutpostId() terra.StringValue
- func (sm DataSubnetMappingAttributes) PrivateIpv4Address() terra.StringValue
- func (sm DataSubnetMappingAttributes) SubnetId() terra.StringValue
- type DataSubnetMappingState
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (al *Resource) Attributes() awsLbAttributes
- func (al *Resource) Configuration() interface{}
- func (al *Resource) DependOn() terra.Reference
- func (al *Resource) Dependencies() terra.Dependencies
- func (al *Resource) ImportState(state io.Reader) error
- func (al *Resource) LifecycleManagement() *terra.Lifecycle
- func (al *Resource) LocalName() string
- func (al *Resource) State() (*awsLbState, bool)
- func (al *Resource) StateMust() *awsLbState
- func (al *Resource) Type() string
- type SubnetMapping
- type SubnetMappingAttributes
- func (sm SubnetMappingAttributes) AllocationId() terra.StringValue
- func (sm SubnetMappingAttributes) InternalRef() (terra.Reference, error)
- func (sm SubnetMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sm SubnetMappingAttributes) InternalWithRef(ref terra.Reference) SubnetMappingAttributes
- func (sm SubnetMappingAttributes) Ipv6Address() terra.StringValue
- func (sm SubnetMappingAttributes) OutpostId() terra.StringValue
- func (sm SubnetMappingAttributes) PrivateIpv4Address() terra.StringValue
- func (sm SubnetMappingAttributes) SubnetId() terra.StringValue
- type SubnetMappingState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() 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"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` }
type AccessLogsAttributes ¶
type AccessLogsAttributes struct {
// contains filtered or unexported fields
}
func (AccessLogsAttributes) Bucket ¶
func (al AccessLogsAttributes) Bucket() 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) Prefix ¶
func (al AccessLogsAttributes) Prefix() terra.StringValue
type AccessLogsState ¶
type Args ¶
type Args struct { // CustomerOwnedIpv4Pool: string, optional CustomerOwnedIpv4Pool terra.StringValue `hcl:"customer_owned_ipv4_pool,attr"` // DesyncMitigationMode: string, optional DesyncMitigationMode terra.StringValue `hcl:"desync_mitigation_mode,attr"` // DnsRecordClientRoutingPolicy: string, optional DnsRecordClientRoutingPolicy terra.StringValue `hcl:"dns_record_client_routing_policy,attr"` // DropInvalidHeaderFields: bool, optional DropInvalidHeaderFields terra.BoolValue `hcl:"drop_invalid_header_fields,attr"` // EnableCrossZoneLoadBalancing: bool, optional EnableCrossZoneLoadBalancing terra.BoolValue `hcl:"enable_cross_zone_load_balancing,attr"` // EnableDeletionProtection: bool, optional EnableDeletionProtection terra.BoolValue `hcl:"enable_deletion_protection,attr"` // EnableHttp2: bool, optional EnableHttp2 terra.BoolValue `hcl:"enable_http2,attr"` // EnableTlsVersionAndCipherSuiteHeaders: bool, optional EnableTlsVersionAndCipherSuiteHeaders terra.BoolValue `hcl:"enable_tls_version_and_cipher_suite_headers,attr"` // EnableWafFailOpen: bool, optional EnableWafFailOpen terra.BoolValue `hcl:"enable_waf_fail_open,attr"` // EnableXffClientPort: bool, optional EnableXffClientPort terra.BoolValue `hcl:"enable_xff_client_port,attr"` // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: string, optional EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic terra.StringValue `hcl:"enforce_security_group_inbound_rules_on_private_link_traffic,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdleTimeout: number, optional IdleTimeout terra.NumberValue `hcl:"idle_timeout,attr"` // Internal: bool, optional Internal terra.BoolValue `hcl:"internal,attr"` // IpAddressType: string, optional IpAddressType terra.StringValue `hcl:"ip_address_type,attr"` // LoadBalancerType: string, optional LoadBalancerType terra.StringValue `hcl:"load_balancer_type,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // PreserveHostHeader: bool, optional PreserveHostHeader terra.BoolValue `hcl:"preserve_host_header,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,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"` // XffHeaderProcessingMode: string, optional XffHeaderProcessingMode terra.StringValue `hcl:"xff_header_processing_mode,attr"` // AccessLogs: optional AccessLogs *AccessLogs `hcl:"access_logs,block"` // ConnectionLogs: optional ConnectionLogs *ConnectionLogs `hcl:"connection_logs,block"` // SubnetMapping: min=0 SubnetMapping []SubnetMapping `hcl:"subnet_mapping,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_lb.
type ConnectionLogs ¶
type ConnectionLogs struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` }
type ConnectionLogsAttributes ¶
type ConnectionLogsAttributes struct {
// contains filtered or unexported fields
}
func (ConnectionLogsAttributes) Bucket ¶
func (cl ConnectionLogsAttributes) Bucket() terra.StringValue
func (ConnectionLogsAttributes) Enabled ¶
func (cl ConnectionLogsAttributes) Enabled() terra.BoolValue
func (ConnectionLogsAttributes) InternalRef ¶
func (cl ConnectionLogsAttributes) InternalRef() (terra.Reference, error)
func (ConnectionLogsAttributes) InternalTokens ¶
func (cl ConnectionLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConnectionLogsAttributes) InternalWithRef ¶
func (cl ConnectionLogsAttributes) InternalWithRef(ref terra.Reference) ConnectionLogsAttributes
func (ConnectionLogsAttributes) Prefix ¶
func (cl ConnectionLogsAttributes) Prefix() terra.StringValue
type ConnectionLogsState ¶
type DataAccessLogsAttributes ¶
type DataAccessLogsAttributes struct {
// contains filtered or unexported fields
}
func (DataAccessLogsAttributes) Bucket ¶
func (al DataAccessLogsAttributes) Bucket() 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) Prefix ¶
func (al DataAccessLogsAttributes) Prefix() terra.StringValue
type DataAccessLogsState ¶
type DataArgs ¶
type DataArgs struct { // Arn: string, optional Arn terra.StringValue `hcl:"arn,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_lb.
type DataConnectionLogsAttributes ¶
type DataConnectionLogsAttributes struct {
// contains filtered or unexported fields
}
func (DataConnectionLogsAttributes) Bucket ¶
func (cl DataConnectionLogsAttributes) Bucket() terra.StringValue
func (DataConnectionLogsAttributes) Enabled ¶
func (cl DataConnectionLogsAttributes) Enabled() terra.BoolValue
func (DataConnectionLogsAttributes) InternalRef ¶
func (cl DataConnectionLogsAttributes) InternalRef() (terra.Reference, error)
func (DataConnectionLogsAttributes) InternalTokens ¶
func (cl DataConnectionLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataConnectionLogsAttributes) InternalWithRef ¶
func (cl DataConnectionLogsAttributes) InternalWithRef(ref terra.Reference) DataConnectionLogsAttributes
func (DataConnectionLogsAttributes) Prefix ¶
func (cl DataConnectionLogsAttributes) Prefix() terra.StringValue
type DataConnectionLogsState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_lb.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (al *DataSource) Attributes() dataAwsLbAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (al *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (al *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (al *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSubnetMappingAttributes ¶
type DataSubnetMappingAttributes struct {
// contains filtered or unexported fields
}
func (DataSubnetMappingAttributes) AllocationId ¶
func (sm DataSubnetMappingAttributes) AllocationId() terra.StringValue
func (DataSubnetMappingAttributes) InternalRef ¶
func (sm DataSubnetMappingAttributes) InternalRef() (terra.Reference, error)
func (DataSubnetMappingAttributes) InternalTokens ¶
func (sm DataSubnetMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSubnetMappingAttributes) InternalWithRef ¶
func (sm DataSubnetMappingAttributes) InternalWithRef(ref terra.Reference) DataSubnetMappingAttributes
func (DataSubnetMappingAttributes) Ipv6Address ¶
func (sm DataSubnetMappingAttributes) Ipv6Address() terra.StringValue
func (DataSubnetMappingAttributes) OutpostId ¶
func (sm DataSubnetMappingAttributes) OutpostId() terra.StringValue
func (DataSubnetMappingAttributes) PrivateIpv4Address ¶
func (sm DataSubnetMappingAttributes) PrivateIpv4Address() terra.StringValue
func (DataSubnetMappingAttributes) SubnetId ¶
func (sm DataSubnetMappingAttributes) SubnetId() terra.StringValue
type DataSubnetMappingState ¶
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_lb.
func (*Resource) Attributes ¶
func (al *Resource) Attributes() awsLbAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (al *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (al *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 SubnetMapping ¶
type SubnetMapping struct { // AllocationId: string, optional AllocationId terra.StringValue `hcl:"allocation_id,attr"` // Ipv6Address: string, optional Ipv6Address terra.StringValue `hcl:"ipv6_address,attr"` // PrivateIpv4Address: string, optional PrivateIpv4Address terra.StringValue `hcl:"private_ipv4_address,attr"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` }
type SubnetMappingAttributes ¶
type SubnetMappingAttributes struct {
// contains filtered or unexported fields
}
func (SubnetMappingAttributes) AllocationId ¶
func (sm SubnetMappingAttributes) AllocationId() terra.StringValue
func (SubnetMappingAttributes) InternalRef ¶
func (sm SubnetMappingAttributes) InternalRef() (terra.Reference, error)
func (SubnetMappingAttributes) InternalTokens ¶
func (sm SubnetMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SubnetMappingAttributes) InternalWithRef ¶
func (sm SubnetMappingAttributes) InternalWithRef(ref terra.Reference) SubnetMappingAttributes
func (SubnetMappingAttributes) Ipv6Address ¶
func (sm SubnetMappingAttributes) Ipv6Address() terra.StringValue
func (SubnetMappingAttributes) OutpostId ¶
func (sm SubnetMappingAttributes) OutpostId() terra.StringValue
func (SubnetMappingAttributes) PrivateIpv4Address ¶
func (sm SubnetMappingAttributes) PrivateIpv4Address() terra.StringValue
func (SubnetMappingAttributes) SubnetId ¶
func (sm SubnetMappingAttributes) SubnetId() terra.StringValue
type SubnetMappingState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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) Delete ¶
func (t TimeoutsAttributes) Delete() 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