apigatewaymethodsettings

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	// CacheDataEncrypted: bool, optional
	CacheDataEncrypted terra.BoolValue `hcl:"cache_data_encrypted,attr"`
	// CacheTtlInSeconds: number, optional
	CacheTtlInSeconds terra.NumberValue `hcl:"cache_ttl_in_seconds,attr"`
	// CachingEnabled: bool, optional
	CachingEnabled terra.BoolValue `hcl:"caching_enabled,attr"`
	// DataTraceEnabled: bool, optional
	DataTraceEnabled terra.BoolValue `hcl:"data_trace_enabled,attr"`
	// LoggingLevel: string, optional
	LoggingLevel terra.StringValue `hcl:"logging_level,attr"`
	// MetricsEnabled: bool, optional
	MetricsEnabled terra.BoolValue `hcl:"metrics_enabled,attr"`
	// RequireAuthorizationForCacheControl: bool, optional
	RequireAuthorizationForCacheControl terra.BoolValue `hcl:"require_authorization_for_cache_control,attr"`
	// ThrottlingBurstLimit: number, optional
	ThrottlingBurstLimit terra.NumberValue `hcl:"throttling_burst_limit,attr"`
	// ThrottlingRateLimit: number, optional
	ThrottlingRateLimit terra.NumberValue `hcl:"throttling_rate_limit,attr"`
	// UnauthorizedCacheControlHeaderStrategy: string, optional
	UnauthorizedCacheControlHeaderStrategy terra.StringValue `hcl:"unauthorized_cache_control_header_strategy,attr"`
}

type SettingsAttributes

type SettingsAttributes struct {
	// contains filtered or unexported fields
}

func (SettingsAttributes) CacheDataEncrypted

func (s SettingsAttributes) CacheDataEncrypted() terra.BoolValue

func (SettingsAttributes) CacheTtlInSeconds

func (s SettingsAttributes) CacheTtlInSeconds() terra.NumberValue

func (SettingsAttributes) CachingEnabled

func (s SettingsAttributes) CachingEnabled() terra.BoolValue

func (SettingsAttributes) DataTraceEnabled

func (s SettingsAttributes) DataTraceEnabled() terra.BoolValue

func (SettingsAttributes) InternalRef

func (s SettingsAttributes) InternalRef() (terra.Reference, error)

func (SettingsAttributes) InternalTokens

func (s SettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SettingsAttributes) InternalWithRef

func (s SettingsAttributes) InternalWithRef(ref terra.Reference) SettingsAttributes

func (SettingsAttributes) LoggingLevel

func (s SettingsAttributes) LoggingLevel() terra.StringValue

func (SettingsAttributes) MetricsEnabled

func (s SettingsAttributes) MetricsEnabled() terra.BoolValue

func (SettingsAttributes) RequireAuthorizationForCacheControl

func (s SettingsAttributes) RequireAuthorizationForCacheControl() terra.BoolValue

func (SettingsAttributes) ThrottlingBurstLimit

func (s SettingsAttributes) ThrottlingBurstLimit() terra.NumberValue

func (SettingsAttributes) ThrottlingRateLimit

func (s SettingsAttributes) ThrottlingRateLimit() terra.NumberValue

func (SettingsAttributes) UnauthorizedCacheControlHeaderStrategy

func (s SettingsAttributes) UnauthorizedCacheControlHeaderStrategy() terra.StringValue

type SettingsState

type SettingsState struct {
	CacheDataEncrypted                     bool    `json:"cache_data_encrypted"`
	CacheTtlInSeconds                      float64 `json:"cache_ttl_in_seconds"`
	CachingEnabled                         bool    `json:"caching_enabled"`
	DataTraceEnabled                       bool    `json:"data_trace_enabled"`
	LoggingLevel                           string  `json:"logging_level"`
	MetricsEnabled                         bool    `json:"metrics_enabled"`
	RequireAuthorizationForCacheControl    bool    `json:"require_authorization_for_cache_control"`
	ThrottlingBurstLimit                   float64 `json:"throttling_burst_limit"`
	ThrottlingRateLimit                    float64 `json:"throttling_rate_limit"`
	UnauthorizedCacheControlHeaderStrategy string  `json:"unauthorized_cache_control_header_strategy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL