Documentation ¶
Index ¶
- type Args
- type CacheUsageLimits
- type CacheUsageLimitsAttributes
- func (cul CacheUsageLimitsAttributes) DataStorage() terra.ListValue[CacheUsageLimitsDataStorageAttributes]
- func (cul CacheUsageLimitsAttributes) EcpuPerSecond() terra.ListValue[CacheUsageLimitsEcpuPerSecondAttributes]
- func (cul CacheUsageLimitsAttributes) InternalRef() (terra.Reference, error)
- func (cul CacheUsageLimitsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cul CacheUsageLimitsAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsAttributes
- type CacheUsageLimitsDataStorage
- type CacheUsageLimitsDataStorageAttributes
- func (ds CacheUsageLimitsDataStorageAttributes) InternalRef() (terra.Reference, error)
- func (ds CacheUsageLimitsDataStorageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds CacheUsageLimitsDataStorageAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsDataStorageAttributes
- func (ds CacheUsageLimitsDataStorageAttributes) Maximum() terra.NumberValue
- func (ds CacheUsageLimitsDataStorageAttributes) Unit() terra.StringValue
- type CacheUsageLimitsDataStorageState
- type CacheUsageLimitsEcpuPerSecond
- type CacheUsageLimitsEcpuPerSecondAttributes
- func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalRef() (terra.Reference, error)
- func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsEcpuPerSecondAttributes
- func (eps CacheUsageLimitsEcpuPerSecondAttributes) Maximum() terra.NumberValue
- type CacheUsageLimitsEcpuPerSecondState
- type CacheUsageLimitsState
- type EndpointAttributes
- func (e EndpointAttributes) Address() terra.StringValue
- func (e EndpointAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
- func (e EndpointAttributes) Port() terra.NumberValue
- type EndpointState
- type ReaderEndpointAttributes
- func (re ReaderEndpointAttributes) Address() terra.StringValue
- func (re ReaderEndpointAttributes) InternalRef() (terra.Reference, error)
- func (re ReaderEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (re ReaderEndpointAttributes) InternalWithRef(ref terra.Reference) ReaderEndpointAttributes
- func (re ReaderEndpointAttributes) Port() terra.NumberValue
- type ReaderEndpointState
- type Resource
- func (aesc *Resource) Attributes() awsElasticacheServerlessCacheAttributes
- func (aesc *Resource) Configuration() interface{}
- func (aesc *Resource) DependOn() terra.Reference
- func (aesc *Resource) Dependencies() terra.Dependencies
- func (aesc *Resource) ImportState(state io.Reader) error
- func (aesc *Resource) LifecycleManagement() *terra.Lifecycle
- func (aesc *Resource) LocalName() string
- func (aesc *Resource) State() (*awsElasticacheServerlessCacheState, bool)
- func (aesc *Resource) StateMust() *awsElasticacheServerlessCacheState
- func (aesc *Resource) Type() string
- 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 Args ¶
type Args struct { // DailySnapshotTime: string, optional DailySnapshotTime terra.StringValue `hcl:"daily_snapshot_time,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Engine: string, required Engine terra.StringValue `hcl:"engine,attr" validate:"required"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // MajorEngineVersion: string, optional MajorEngineVersion terra.StringValue `hcl:"major_engine_version,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SnapshotArnsToRestore: list of string, optional SnapshotArnsToRestore terra.ListValue[terra.StringValue] `hcl:"snapshot_arns_to_restore,attr"` // SnapshotRetentionLimit: number, optional SnapshotRetentionLimit terra.NumberValue `hcl:"snapshot_retention_limit,attr"` // SubnetIds: set of string, optional SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // UserGroupId: string, optional UserGroupId terra.StringValue `hcl:"user_group_id,attr"` // CacheUsageLimits: min=0 CacheUsageLimits []CacheUsageLimits `hcl:"cache_usage_limits,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_elasticache_serverless_cache.
type CacheUsageLimits ¶
type CacheUsageLimits struct { // CacheUsageLimitsDataStorage: min=0 DataStorage []CacheUsageLimitsDataStorage `hcl:"data_storage,block" validate:"min=0"` // CacheUsageLimitsEcpuPerSecond: min=0 EcpuPerSecond []CacheUsageLimitsEcpuPerSecond `hcl:"ecpu_per_second,block" validate:"min=0"` }
type CacheUsageLimitsAttributes ¶
type CacheUsageLimitsAttributes struct {
// contains filtered or unexported fields
}
func (CacheUsageLimitsAttributes) DataStorage ¶
func (cul CacheUsageLimitsAttributes) DataStorage() terra.ListValue[CacheUsageLimitsDataStorageAttributes]
func (CacheUsageLimitsAttributes) EcpuPerSecond ¶
func (cul CacheUsageLimitsAttributes) EcpuPerSecond() terra.ListValue[CacheUsageLimitsEcpuPerSecondAttributes]
func (CacheUsageLimitsAttributes) InternalRef ¶
func (cul CacheUsageLimitsAttributes) InternalRef() (terra.Reference, error)
func (CacheUsageLimitsAttributes) InternalTokens ¶
func (cul CacheUsageLimitsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheUsageLimitsAttributes) InternalWithRef ¶
func (cul CacheUsageLimitsAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsAttributes
type CacheUsageLimitsDataStorage ¶
type CacheUsageLimitsDataStorage struct { // Maximum: number, required Maximum terra.NumberValue `hcl:"maximum,attr" validate:"required"` // Unit: string, required Unit terra.StringValue `hcl:"unit,attr" validate:"required"` }
type CacheUsageLimitsDataStorageAttributes ¶
type CacheUsageLimitsDataStorageAttributes struct {
// contains filtered or unexported fields
}
func (CacheUsageLimitsDataStorageAttributes) InternalRef ¶
func (ds CacheUsageLimitsDataStorageAttributes) InternalRef() (terra.Reference, error)
func (CacheUsageLimitsDataStorageAttributes) InternalTokens ¶
func (ds CacheUsageLimitsDataStorageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheUsageLimitsDataStorageAttributes) InternalWithRef ¶
func (ds CacheUsageLimitsDataStorageAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsDataStorageAttributes
func (CacheUsageLimitsDataStorageAttributes) Maximum ¶
func (ds CacheUsageLimitsDataStorageAttributes) Maximum() terra.NumberValue
func (CacheUsageLimitsDataStorageAttributes) Unit ¶
func (ds CacheUsageLimitsDataStorageAttributes) Unit() terra.StringValue
type CacheUsageLimitsEcpuPerSecond ¶
type CacheUsageLimitsEcpuPerSecond struct { // Maximum: number, required Maximum terra.NumberValue `hcl:"maximum,attr" validate:"required"` }
type CacheUsageLimitsEcpuPerSecondAttributes ¶
type CacheUsageLimitsEcpuPerSecondAttributes struct {
// contains filtered or unexported fields
}
func (CacheUsageLimitsEcpuPerSecondAttributes) InternalRef ¶
func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalRef() (terra.Reference, error)
func (CacheUsageLimitsEcpuPerSecondAttributes) InternalTokens ¶
func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheUsageLimitsEcpuPerSecondAttributes) InternalWithRef ¶
func (eps CacheUsageLimitsEcpuPerSecondAttributes) InternalWithRef(ref terra.Reference) CacheUsageLimitsEcpuPerSecondAttributes
func (CacheUsageLimitsEcpuPerSecondAttributes) Maximum ¶
func (eps CacheUsageLimitsEcpuPerSecondAttributes) Maximum() terra.NumberValue
type CacheUsageLimitsEcpuPerSecondState ¶
type CacheUsageLimitsEcpuPerSecondState struct {
Maximum float64 `json:"maximum"`
}
type CacheUsageLimitsState ¶
type CacheUsageLimitsState struct { DataStorage []CacheUsageLimitsDataStorageState `json:"data_storage"` EcpuPerSecond []CacheUsageLimitsEcpuPerSecondState `json:"ecpu_per_second"` }
type EndpointAttributes ¶
type EndpointAttributes struct {
// contains filtered or unexported fields
}
func (EndpointAttributes) Address ¶
func (e EndpointAttributes) Address() terra.StringValue
func (EndpointAttributes) InternalRef ¶
func (e EndpointAttributes) InternalRef() (terra.Reference, error)
func (EndpointAttributes) InternalTokens ¶
func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointAttributes) InternalWithRef ¶
func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
func (EndpointAttributes) Port ¶
func (e EndpointAttributes) Port() terra.NumberValue
type EndpointState ¶
type ReaderEndpointAttributes ¶
type ReaderEndpointAttributes struct {
// contains filtered or unexported fields
}
func (ReaderEndpointAttributes) Address ¶
func (re ReaderEndpointAttributes) Address() terra.StringValue
func (ReaderEndpointAttributes) InternalRef ¶
func (re ReaderEndpointAttributes) InternalRef() (terra.Reference, error)
func (ReaderEndpointAttributes) InternalTokens ¶
func (re ReaderEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReaderEndpointAttributes) InternalWithRef ¶
func (re ReaderEndpointAttributes) InternalWithRef(ref terra.Reference) ReaderEndpointAttributes
func (ReaderEndpointAttributes) Port ¶
func (re ReaderEndpointAttributes) Port() terra.NumberValue
type ReaderEndpointState ¶
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_elasticache_serverless_cache.
func (*Resource) Attributes ¶
func (aesc *Resource) Attributes() awsElasticacheServerlessCacheAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aesc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aesc *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"` // 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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.