Documentation ¶
Index ¶
- type AutoScalingConfiguration
- type AutoScalingConfigurationAttributes
- func (asc AutoScalingConfigurationAttributes) AutoScalingMetric() terra.StringValue
- func (asc AutoScalingConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (asc AutoScalingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asc AutoScalingConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoScalingConfigurationAttributes
- func (asc AutoScalingConfigurationAttributes) MaxNodeCount() terra.NumberValue
- func (asc AutoScalingConfigurationAttributes) MetricTarget() terra.NumberValue
- func (asc AutoScalingConfigurationAttributes) MinNodeCount() terra.NumberValue
- func (asc AutoScalingConfigurationAttributes) ScaleInCooldownSeconds() terra.NumberValue
- func (asc AutoScalingConfigurationAttributes) ScaleOutCooldownSeconds() terra.NumberValue
- type AutoScalingConfigurationState
- type CacheConfigurations
- type CacheConfigurationsAttributes
- func (cc CacheConfigurationsAttributes) CacheType() terra.StringValue
- func (cc CacheConfigurationsAttributes) DbPaths() terra.SetValue[terra.StringValue]
- func (cc CacheConfigurationsAttributes) InternalRef() (terra.Reference, error)
- func (cc CacheConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CacheConfigurationsAttributes) InternalWithRef(ref terra.Reference) CacheConfigurationsAttributes
- type CacheConfigurationsState
- type CacheStorageConfigurations
- type CacheStorageConfigurationsAttributes
- func (csc CacheStorageConfigurationsAttributes) InternalRef() (terra.Reference, error)
- func (csc CacheStorageConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (csc CacheStorageConfigurationsAttributes) InternalWithRef(ref terra.Reference) CacheStorageConfigurationsAttributes
- func (csc CacheStorageConfigurationsAttributes) Size() terra.NumberValue
- func (csc CacheStorageConfigurationsAttributes) Type() terra.StringValue
- type CacheStorageConfigurationsState
- type CapacityConfiguration
- type CapacityConfigurationAttributes
- func (cc CapacityConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc CapacityConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CapacityConfigurationAttributes) InternalWithRef(ref terra.Reference) CapacityConfigurationAttributes
- func (cc CapacityConfigurationAttributes) NodeCount() terra.NumberValue
- func (cc CapacityConfigurationAttributes) NodeType() terra.StringValue
- type CapacityConfigurationState
- type Code
- type CodeAttributes
- func (c CodeAttributes) InternalRef() (terra.Reference, error)
- func (c CodeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CodeAttributes) InternalWithRef(ref terra.Reference) CodeAttributes
- func (c CodeAttributes) S3Bucket() terra.StringValue
- func (c CodeAttributes) S3Key() terra.StringValue
- func (c CodeAttributes) S3ObjectVersion() terra.StringValue
- type CodeState
- type Database
- type DatabaseAttributes
- func (d DatabaseAttributes) CacheConfigurations() terra.ListValue[CacheConfigurationsAttributes]
- func (d DatabaseAttributes) ChangesetId() terra.StringValue
- func (d DatabaseAttributes) DatabaseName() terra.StringValue
- func (d DatabaseAttributes) InternalRef() (terra.Reference, error)
- func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes
- type DatabaseState
- type SavedownStorageConfiguration
- type SavedownStorageConfigurationAttributes
- func (ssc SavedownStorageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ssc SavedownStorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssc SavedownStorageConfigurationAttributes) InternalWithRef(ref terra.Reference) SavedownStorageConfigurationAttributes
- func (ssc SavedownStorageConfigurationAttributes) Size() terra.NumberValue
- func (ssc SavedownStorageConfigurationAttributes) Type() terra.StringValue
- type SavedownStorageConfigurationState
- 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
- type VpcConfiguration
- type VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
- func (vc VpcConfigurationAttributes) IpAddressType() terra.StringValue
- func (vc VpcConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigurationAttributes) VpcId() terra.StringValue
- type VpcConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalingConfiguration ¶
type AutoScalingConfiguration struct { // AutoScalingMetric: string, required AutoScalingMetric terra.StringValue `hcl:"auto_scaling_metric,attr" validate:"required"` // MaxNodeCount: number, required MaxNodeCount terra.NumberValue `hcl:"max_node_count,attr" validate:"required"` // MetricTarget: number, required MetricTarget terra.NumberValue `hcl:"metric_target,attr" validate:"required"` // MinNodeCount: number, required MinNodeCount terra.NumberValue `hcl:"min_node_count,attr" validate:"required"` // ScaleInCooldownSeconds: number, required ScaleInCooldownSeconds terra.NumberValue `hcl:"scale_in_cooldown_seconds,attr" validate:"required"` // ScaleOutCooldownSeconds: number, required ScaleOutCooldownSeconds terra.NumberValue `hcl:"scale_out_cooldown_seconds,attr" validate:"required"` }
type AutoScalingConfigurationAttributes ¶
type AutoScalingConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoScalingConfigurationAttributes) AutoScalingMetric ¶
func (asc AutoScalingConfigurationAttributes) AutoScalingMetric() terra.StringValue
func (AutoScalingConfigurationAttributes) InternalRef ¶
func (asc AutoScalingConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoScalingConfigurationAttributes) InternalTokens ¶
func (asc AutoScalingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoScalingConfigurationAttributes) InternalWithRef ¶
func (asc AutoScalingConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoScalingConfigurationAttributes
func (AutoScalingConfigurationAttributes) MaxNodeCount ¶
func (asc AutoScalingConfigurationAttributes) MaxNodeCount() terra.NumberValue
func (AutoScalingConfigurationAttributes) MetricTarget ¶
func (asc AutoScalingConfigurationAttributes) MetricTarget() terra.NumberValue
func (AutoScalingConfigurationAttributes) MinNodeCount ¶
func (asc AutoScalingConfigurationAttributes) MinNodeCount() terra.NumberValue
func (AutoScalingConfigurationAttributes) ScaleInCooldownSeconds ¶
func (asc AutoScalingConfigurationAttributes) ScaleInCooldownSeconds() terra.NumberValue
func (AutoScalingConfigurationAttributes) ScaleOutCooldownSeconds ¶
func (asc AutoScalingConfigurationAttributes) ScaleOutCooldownSeconds() terra.NumberValue
type AutoScalingConfigurationState ¶
type AutoScalingConfigurationState struct { AutoScalingMetric string `json:"auto_scaling_metric"` MaxNodeCount float64 `json:"max_node_count"` MetricTarget float64 `json:"metric_target"` MinNodeCount float64 `json:"min_node_count"` ScaleInCooldownSeconds float64 `json:"scale_in_cooldown_seconds"` ScaleOutCooldownSeconds float64 `json:"scale_out_cooldown_seconds"` }
type CacheConfigurations ¶
type CacheConfigurations struct { // CacheType: string, required CacheType terra.StringValue `hcl:"cache_type,attr" validate:"required"` // DbPaths: set of string, required DbPaths terra.SetValue[terra.StringValue] `hcl:"db_paths,attr" validate:"required"` }
type CacheConfigurationsAttributes ¶
type CacheConfigurationsAttributes struct {
// contains filtered or unexported fields
}
func (CacheConfigurationsAttributes) CacheType ¶
func (cc CacheConfigurationsAttributes) CacheType() terra.StringValue
func (CacheConfigurationsAttributes) DbPaths ¶
func (cc CacheConfigurationsAttributes) DbPaths() terra.SetValue[terra.StringValue]
func (CacheConfigurationsAttributes) InternalRef ¶
func (cc CacheConfigurationsAttributes) InternalRef() (terra.Reference, error)
func (CacheConfigurationsAttributes) InternalTokens ¶
func (cc CacheConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheConfigurationsAttributes) InternalWithRef ¶
func (cc CacheConfigurationsAttributes) InternalWithRef(ref terra.Reference) CacheConfigurationsAttributes
type CacheStorageConfigurations ¶
type CacheStorageConfigurations struct { // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type CacheStorageConfigurationsAttributes ¶
type CacheStorageConfigurationsAttributes struct {
// contains filtered or unexported fields
}
func (CacheStorageConfigurationsAttributes) InternalRef ¶
func (csc CacheStorageConfigurationsAttributes) InternalRef() (terra.Reference, error)
func (CacheStorageConfigurationsAttributes) InternalTokens ¶
func (csc CacheStorageConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheStorageConfigurationsAttributes) InternalWithRef ¶
func (csc CacheStorageConfigurationsAttributes) InternalWithRef(ref terra.Reference) CacheStorageConfigurationsAttributes
func (CacheStorageConfigurationsAttributes) Size ¶
func (csc CacheStorageConfigurationsAttributes) Size() terra.NumberValue
func (CacheStorageConfigurationsAttributes) Type ¶
func (csc CacheStorageConfigurationsAttributes) Type() terra.StringValue
type CapacityConfiguration ¶
type CapacityConfiguration struct { // NodeCount: number, required NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"` // NodeType: string, required NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"` }
type CapacityConfigurationAttributes ¶
type CapacityConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CapacityConfigurationAttributes) InternalRef ¶
func (cc CapacityConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CapacityConfigurationAttributes) InternalTokens ¶
func (cc CapacityConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityConfigurationAttributes) InternalWithRef ¶
func (cc CapacityConfigurationAttributes) InternalWithRef(ref terra.Reference) CapacityConfigurationAttributes
func (CapacityConfigurationAttributes) NodeCount ¶
func (cc CapacityConfigurationAttributes) NodeCount() terra.NumberValue
func (CapacityConfigurationAttributes) NodeType ¶
func (cc CapacityConfigurationAttributes) NodeType() terra.StringValue
type Code ¶
type Code struct { // S3Bucket: string, required S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"` // S3Key: string, required S3Key terra.StringValue `hcl:"s3_key,attr" validate:"required"` // S3ObjectVersion: string, optional S3ObjectVersion terra.StringValue `hcl:"s3_object_version,attr"` }
type CodeAttributes ¶
type CodeAttributes struct {
// contains filtered or unexported fields
}
func (CodeAttributes) InternalRef ¶
func (c CodeAttributes) InternalRef() (terra.Reference, error)
func (CodeAttributes) InternalTokens ¶
func (c CodeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CodeAttributes) InternalWithRef ¶
func (c CodeAttributes) InternalWithRef(ref terra.Reference) CodeAttributes
func (CodeAttributes) S3Bucket ¶
func (c CodeAttributes) S3Bucket() terra.StringValue
func (CodeAttributes) S3Key ¶
func (c CodeAttributes) S3Key() terra.StringValue
func (CodeAttributes) S3ObjectVersion ¶
func (c CodeAttributes) S3ObjectVersion() terra.StringValue
type Database ¶
type Database struct { // ChangesetId: string, optional ChangesetId terra.StringValue `hcl:"changeset_id,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // CacheConfigurations: min=1 CacheConfigurations []CacheConfigurations `hcl:"cache_configurations,block" validate:"min=1"` }
type DatabaseAttributes ¶
type DatabaseAttributes struct {
// contains filtered or unexported fields
}
func (DatabaseAttributes) CacheConfigurations ¶
func (d DatabaseAttributes) CacheConfigurations() terra.ListValue[CacheConfigurationsAttributes]
func (DatabaseAttributes) ChangesetId ¶
func (d DatabaseAttributes) ChangesetId() terra.StringValue
func (DatabaseAttributes) DatabaseName ¶
func (d DatabaseAttributes) DatabaseName() terra.StringValue
func (DatabaseAttributes) InternalRef ¶
func (d DatabaseAttributes) InternalRef() (terra.Reference, error)
func (DatabaseAttributes) InternalTokens ¶
func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatabaseAttributes) InternalWithRef ¶
func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes
type DatabaseState ¶
type DatabaseState struct { ChangesetId string `json:"changeset_id"` DatabaseName string `json:"database_name"` CacheConfigurations []CacheConfigurationsState `json:"cache_configurations"` }
type SavedownStorageConfiguration ¶
type SavedownStorageConfiguration struct { // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type SavedownStorageConfigurationAttributes ¶
type SavedownStorageConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (SavedownStorageConfigurationAttributes) InternalRef ¶
func (ssc SavedownStorageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (SavedownStorageConfigurationAttributes) InternalTokens ¶
func (ssc SavedownStorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SavedownStorageConfigurationAttributes) InternalWithRef ¶
func (ssc SavedownStorageConfigurationAttributes) InternalWithRef(ref terra.Reference) SavedownStorageConfigurationAttributes
func (SavedownStorageConfigurationAttributes) Size ¶
func (ssc SavedownStorageConfigurationAttributes) Size() terra.NumberValue
func (SavedownStorageConfigurationAttributes) Type ¶
func (ssc SavedownStorageConfigurationAttributes) Type() terra.StringValue
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 ¶
type VpcConfiguration ¶
type VpcConfiguration struct { // IpAddressType: string, required IpAddressType terra.StringValue `hcl:"ip_address_type,attr" validate:"required"` // SecurityGroupIds: set of string, required SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"` // SubnetIds: set of string, required SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"` // VpcId: string, required VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"` }
type VpcConfigurationAttributes ¶
type VpcConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (VpcConfigurationAttributes) InternalRef ¶
func (vc VpcConfigurationAttributes) InternalRef() (terra.Reference, error)
func (VpcConfigurationAttributes) InternalTokens ¶
func (vc VpcConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcConfigurationAttributes) InternalWithRef ¶
func (vc VpcConfigurationAttributes) InternalWithRef(ref terra.Reference) VpcConfigurationAttributes
func (VpcConfigurationAttributes) IpAddressType ¶
func (vc VpcConfigurationAttributes) IpAddressType() terra.StringValue
func (VpcConfigurationAttributes) SecurityGroupIds ¶
func (vc VpcConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (VpcConfigurationAttributes) SubnetIds ¶
func (vc VpcConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
func (VpcConfigurationAttributes) VpcId ¶
func (vc VpcConfigurationAttributes) VpcId() terra.StringValue
Click to show internal directories.
Click to hide internal directories.