Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamoDbTableUsageSchema = []*schema.UsageSchemaItem{ {Key: "monthly_write_request_units", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_read_request_units", DefaultValue: 0, ValueType: schema.Int64}, {Key: "storage_gb", DefaultValue: 0, ValueType: schema.Int64}, {Key: "pitr_backup_storage_gb", DefaultValue: 0, ValueType: schema.Int64}, {Key: "on_demand_backup_storage_gb", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_data_restored_gb", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_streams_read_request_units", DefaultValue: 0, ValueType: schema.Int64}, }
View Source
var LambdaFunctionUsageSchema = []*schema.UsageSchemaItem{ {Key: "request_duration_ms", DefaultValue: 0, ValueType: schema.Float64}, {Key: "monthly_requests", DefaultValue: 0, ValueType: schema.Float64}, }
View Source
var NATGatewayUsageSchema = []*schema.UsageSchemaItem{ {Key: "monthly_data_processed_gb", DefaultValue: 0, ValueType: schema.Float64}, }
Functions ¶
func NewDynamoDBTable ¶
func NewDynamoDBTable(args *DynamoDbTableArguments) *schema.Resource
func NewLambdaFunction ¶
func NewLambdaFunction(args *LambdaFunctionArguments) *schema.Resource
func NewNATGateway ¶
func NewNATGateway(args *NATGatewayArguments) *schema.Resource
Types ¶
type DynamoDbTableArguments ¶
type DynamoDbTableArguments struct { Address string `json:"address,omitempty"` Region string `json:"region,omitempty"` BillingMode string `json:"billingMode,omitempty"` WriteCapacity int64 `json:"writeCapacity,omitempty"` ReadCapacity int64 `json:"readCapacity,omitempty"` ReplicaRegions []string `json:"replicaRegions,omitempty"` MonthlyWriteRequestUnits *int64 `json:"monthlyWriteRequestUnits,omitempty"` MonthlyReadRequestUnits *int64 `json:"monthlyReadRequestUnits,omitempty"` StorageGB *int64 `json:"storageGB,omitempty"` PitrBackupStorageGB *int64 `json:"pitrBackupStorageGB,omitempty"` OnDemandBackupStorageGB *int64 `json:"onDemandBackupStorageGB,omitempty"` MonthlyDataRestoredGB *int64 `json:"monthlyDataRestoredGB,omitempty"` MonthlyStreamsReadRequestUnits *int64 `json:"monthlyStreamsReadRequestUnits,omitempty"` }
func (*DynamoDbTableArguments) PopulateUsage ¶
func (args *DynamoDbTableArguments) PopulateUsage(u *schema.UsageData)
type LambdaFunctionArguments ¶
type LambdaFunctionArguments struct { Address string `json:"address,omitempty"` Region string `json:"region,omitempty"` MemorySize int64 `json:"memorySize,omitempty"` RequestDurationMS *float64 `json:"requestDurationMS,omitempty"` MonthlyRequests *float64 `json:"monthlyRequests,omitempty"` }
func (*LambdaFunctionArguments) PopulateUsage ¶
func (args *LambdaFunctionArguments) PopulateUsage(u *schema.UsageData)
type NATGatewayArguments ¶
type NATGatewayArguments struct { Address string `json:"address,omitempty"` Region string `json:"region,omitempty"` MonthlyDataProcessedGB *float64 `json:"monthlyDataProcessedGB,omitempty"` }
func (*NATGatewayArguments) PopulateUsage ¶
func (args *NATGatewayArguments) PopulateUsage(u *schema.UsageData)
Click to show internal directories.
Click to hide internal directories.