Documentation ¶
Index ¶
- type ApiStages
- type ApiStagesAttributes
- func (as ApiStagesAttributes) ApiId() terra.StringValue
- func (as ApiStagesAttributes) InternalRef() (terra.Reference, error)
- func (as ApiStagesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ApiStagesAttributes) InternalWithRef(ref terra.Reference) ApiStagesAttributes
- func (as ApiStagesAttributes) Stage() terra.StringValue
- func (as ApiStagesAttributes) Throttle() terra.SetValue[ApiStagesThrottleAttributes]
- type ApiStagesState
- type ApiStagesThrottle
- type ApiStagesThrottleAttributes
- func (t ApiStagesThrottleAttributes) BurstLimit() terra.NumberValue
- func (t ApiStagesThrottleAttributes) InternalRef() (terra.Reference, error)
- func (t ApiStagesThrottleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ApiStagesThrottleAttributes) InternalWithRef(ref terra.Reference) ApiStagesThrottleAttributes
- func (t ApiStagesThrottleAttributes) Path() terra.StringValue
- func (t ApiStagesThrottleAttributes) RateLimit() terra.NumberValue
- type ApiStagesThrottleState
- type Args
- type QuotaSettings
- type QuotaSettingsAttributes
- func (qs QuotaSettingsAttributes) InternalRef() (terra.Reference, error)
- func (qs QuotaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs QuotaSettingsAttributes) InternalWithRef(ref terra.Reference) QuotaSettingsAttributes
- func (qs QuotaSettingsAttributes) Limit() terra.NumberValue
- func (qs QuotaSettingsAttributes) Offset() terra.NumberValue
- func (qs QuotaSettingsAttributes) Period() terra.StringValue
- type QuotaSettingsState
- type Resource
- func (aagup *Resource) Attributes() awsApiGatewayUsagePlanAttributes
- func (aagup *Resource) Configuration() interface{}
- func (aagup *Resource) DependOn() terra.Reference
- func (aagup *Resource) Dependencies() terra.Dependencies
- func (aagup *Resource) ImportState(state io.Reader) error
- func (aagup *Resource) LifecycleManagement() *terra.Lifecycle
- func (aagup *Resource) LocalName() string
- func (aagup *Resource) State() (*awsApiGatewayUsagePlanState, bool)
- func (aagup *Resource) StateMust() *awsApiGatewayUsagePlanState
- func (aagup *Resource) Type() string
- type ThrottleSettings
- type ThrottleSettingsAttributes
- func (ts ThrottleSettingsAttributes) BurstLimit() terra.NumberValue
- func (ts ThrottleSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ts ThrottleSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ts ThrottleSettingsAttributes) InternalWithRef(ref terra.Reference) ThrottleSettingsAttributes
- func (ts ThrottleSettingsAttributes) RateLimit() terra.NumberValue
- type ThrottleSettingsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiStages ¶
type ApiStages struct { // ApiId: string, required ApiId terra.StringValue `hcl:"api_id,attr" validate:"required"` // Stage: string, required Stage terra.StringValue `hcl:"stage,attr" validate:"required"` // ApiStagesThrottle: min=0 Throttle []ApiStagesThrottle `hcl:"throttle,block" validate:"min=0"` }
type ApiStagesAttributes ¶
type ApiStagesAttributes struct {
// contains filtered or unexported fields
}
func (ApiStagesAttributes) ApiId ¶
func (as ApiStagesAttributes) ApiId() terra.StringValue
func (ApiStagesAttributes) InternalRef ¶
func (as ApiStagesAttributes) InternalRef() (terra.Reference, error)
func (ApiStagesAttributes) InternalTokens ¶
func (as ApiStagesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApiStagesAttributes) InternalWithRef ¶
func (as ApiStagesAttributes) InternalWithRef(ref terra.Reference) ApiStagesAttributes
func (ApiStagesAttributes) Stage ¶
func (as ApiStagesAttributes) Stage() terra.StringValue
func (ApiStagesAttributes) Throttle ¶
func (as ApiStagesAttributes) Throttle() terra.SetValue[ApiStagesThrottleAttributes]
type ApiStagesState ¶
type ApiStagesState struct { ApiId string `json:"api_id"` Stage string `json:"stage"` Throttle []ApiStagesThrottleState `json:"throttle"` }
type ApiStagesThrottle ¶
type ApiStagesThrottle struct { // BurstLimit: number, optional BurstLimit terra.NumberValue `hcl:"burst_limit,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // RateLimit: number, optional RateLimit terra.NumberValue `hcl:"rate_limit,attr"` }
type ApiStagesThrottleAttributes ¶
type ApiStagesThrottleAttributes struct {
// contains filtered or unexported fields
}
func (ApiStagesThrottleAttributes) BurstLimit ¶
func (t ApiStagesThrottleAttributes) BurstLimit() terra.NumberValue
func (ApiStagesThrottleAttributes) InternalRef ¶
func (t ApiStagesThrottleAttributes) InternalRef() (terra.Reference, error)
func (ApiStagesThrottleAttributes) InternalTokens ¶
func (t ApiStagesThrottleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApiStagesThrottleAttributes) InternalWithRef ¶
func (t ApiStagesThrottleAttributes) InternalWithRef(ref terra.Reference) ApiStagesThrottleAttributes
func (ApiStagesThrottleAttributes) Path ¶
func (t ApiStagesThrottleAttributes) Path() terra.StringValue
func (ApiStagesThrottleAttributes) RateLimit ¶
func (t ApiStagesThrottleAttributes) RateLimit() terra.NumberValue
type ApiStagesThrottleState ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ProductCode: string, optional ProductCode terra.StringValue `hcl:"product_code,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"` // ApiStages: min=0 ApiStages []ApiStages `hcl:"api_stages,block" validate:"min=0"` // QuotaSettings: optional QuotaSettings *QuotaSettings `hcl:"quota_settings,block"` // ThrottleSettings: optional ThrottleSettings *ThrottleSettings `hcl:"throttle_settings,block"` }
Args contains the configurations for aws_api_gateway_usage_plan.
type QuotaSettings ¶
type QuotaSettings struct { // Limit: number, required Limit terra.NumberValue `hcl:"limit,attr" validate:"required"` // Offset: number, optional Offset terra.NumberValue `hcl:"offset,attr"` // Period: string, required Period terra.StringValue `hcl:"period,attr" validate:"required"` }
type QuotaSettingsAttributes ¶
type QuotaSettingsAttributes struct {
// contains filtered or unexported fields
}
func (QuotaSettingsAttributes) InternalRef ¶
func (qs QuotaSettingsAttributes) InternalRef() (terra.Reference, error)
func (QuotaSettingsAttributes) InternalTokens ¶
func (qs QuotaSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QuotaSettingsAttributes) InternalWithRef ¶
func (qs QuotaSettingsAttributes) InternalWithRef(ref terra.Reference) QuotaSettingsAttributes
func (QuotaSettingsAttributes) Limit ¶
func (qs QuotaSettingsAttributes) Limit() terra.NumberValue
func (QuotaSettingsAttributes) Offset ¶
func (qs QuotaSettingsAttributes) Offset() terra.NumberValue
func (QuotaSettingsAttributes) Period ¶
func (qs QuotaSettingsAttributes) Period() terra.StringValue
type QuotaSettingsState ¶
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_api_gateway_usage_plan.
func (*Resource) Attributes ¶
func (aagup *Resource) Attributes() awsApiGatewayUsagePlanAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aagup *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aagup *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 ThrottleSettings ¶
type ThrottleSettings struct { // BurstLimit: number, optional BurstLimit terra.NumberValue `hcl:"burst_limit,attr"` // RateLimit: number, optional RateLimit terra.NumberValue `hcl:"rate_limit,attr"` }
type ThrottleSettingsAttributes ¶
type ThrottleSettingsAttributes struct {
// contains filtered or unexported fields
}
func (ThrottleSettingsAttributes) BurstLimit ¶
func (ts ThrottleSettingsAttributes) BurstLimit() terra.NumberValue
func (ThrottleSettingsAttributes) InternalRef ¶
func (ts ThrottleSettingsAttributes) InternalRef() (terra.Reference, error)
func (ThrottleSettingsAttributes) InternalTokens ¶
func (ts ThrottleSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ThrottleSettingsAttributes) InternalWithRef ¶
func (ts ThrottleSettingsAttributes) InternalWithRef(ref terra.Reference) ThrottleSettingsAttributes
func (ThrottleSettingsAttributes) RateLimit ¶
func (ts ThrottleSettingsAttributes) RateLimit() terra.NumberValue
type ThrottleSettingsState ¶
Click to show internal directories.
Click to hide internal directories.