Documentation ¶
Index ¶
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) HttpErrorCodeReturnedEquals() terra.StringValue
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) KeyPrefixEquals() terra.StringValue
- type ConditionState
- type ErrorDocument
- type ErrorDocumentAttributes
- func (ed ErrorDocumentAttributes) InternalRef() (terra.Reference, error)
- func (ed ErrorDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ed ErrorDocumentAttributes) InternalWithRef(ref terra.Reference) ErrorDocumentAttributes
- func (ed ErrorDocumentAttributes) Key() terra.StringValue
- type ErrorDocumentState
- type IndexDocument
- type IndexDocumentAttributes
- func (id IndexDocumentAttributes) InternalRef() (terra.Reference, error)
- func (id IndexDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (id IndexDocumentAttributes) InternalWithRef(ref terra.Reference) IndexDocumentAttributes
- func (id IndexDocumentAttributes) Suffix() terra.StringValue
- type IndexDocumentState
- type Redirect
- type RedirectAllRequestsTo
- type RedirectAllRequestsToAttributes
- func (rart RedirectAllRequestsToAttributes) HostName() terra.StringValue
- func (rart RedirectAllRequestsToAttributes) InternalRef() (terra.Reference, error)
- func (rart RedirectAllRequestsToAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rart RedirectAllRequestsToAttributes) InternalWithRef(ref terra.Reference) RedirectAllRequestsToAttributes
- func (rart RedirectAllRequestsToAttributes) Protocol() terra.StringValue
- type RedirectAllRequestsToState
- type RedirectAttributes
- func (r RedirectAttributes) HostName() terra.StringValue
- func (r RedirectAttributes) HttpRedirectCode() terra.StringValue
- func (r RedirectAttributes) InternalRef() (terra.Reference, error)
- func (r RedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RedirectAttributes) InternalWithRef(ref terra.Reference) RedirectAttributes
- func (r RedirectAttributes) Protocol() terra.StringValue
- func (r RedirectAttributes) ReplaceKeyPrefixWith() terra.StringValue
- func (r RedirectAttributes) ReplaceKeyWith() terra.StringValue
- type RedirectState
- type RoutingRule
- type RoutingRuleAttributes
- func (rr RoutingRuleAttributes) Condition() terra.ListValue[ConditionAttributes]
- func (rr RoutingRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr RoutingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr RoutingRuleAttributes) InternalWithRef(ref terra.Reference) RoutingRuleAttributes
- func (rr RoutingRuleAttributes) Redirect() terra.ListValue[RedirectAttributes]
- type RoutingRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { // HttpErrorCodeReturnedEquals: string, optional HttpErrorCodeReturnedEquals terra.StringValue `hcl:"http_error_code_returned_equals,attr"` // KeyPrefixEquals: string, optional KeyPrefixEquals terra.StringValue `hcl:"key_prefix_equals,attr"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) HttpErrorCodeReturnedEquals ¶
func (c ConditionAttributes) HttpErrorCodeReturnedEquals() terra.StringValue
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) KeyPrefixEquals ¶
func (c ConditionAttributes) KeyPrefixEquals() terra.StringValue
type ConditionState ¶
type ErrorDocument ¶
type ErrorDocument struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` }
type ErrorDocumentAttributes ¶
type ErrorDocumentAttributes struct {
// contains filtered or unexported fields
}
func (ErrorDocumentAttributes) InternalRef ¶
func (ed ErrorDocumentAttributes) InternalRef() (terra.Reference, error)
func (ErrorDocumentAttributes) InternalTokens ¶
func (ed ErrorDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ErrorDocumentAttributes) InternalWithRef ¶
func (ed ErrorDocumentAttributes) InternalWithRef(ref terra.Reference) ErrorDocumentAttributes
func (ErrorDocumentAttributes) Key ¶
func (ed ErrorDocumentAttributes) Key() terra.StringValue
type ErrorDocumentState ¶
type ErrorDocumentState struct {
Key string `json:"key"`
}
type IndexDocument ¶
type IndexDocument struct { // Suffix: string, required Suffix terra.StringValue `hcl:"suffix,attr" validate:"required"` }
type IndexDocumentAttributes ¶
type IndexDocumentAttributes struct {
// contains filtered or unexported fields
}
func (IndexDocumentAttributes) InternalRef ¶
func (id IndexDocumentAttributes) InternalRef() (terra.Reference, error)
func (IndexDocumentAttributes) InternalTokens ¶
func (id IndexDocumentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexDocumentAttributes) InternalWithRef ¶
func (id IndexDocumentAttributes) InternalWithRef(ref terra.Reference) IndexDocumentAttributes
func (IndexDocumentAttributes) Suffix ¶
func (id IndexDocumentAttributes) Suffix() terra.StringValue
type IndexDocumentState ¶
type IndexDocumentState struct {
Suffix string `json:"suffix"`
}
type Redirect ¶
type Redirect struct { // HostName: string, optional HostName terra.StringValue `hcl:"host_name,attr"` // HttpRedirectCode: string, optional HttpRedirectCode terra.StringValue `hcl:"http_redirect_code,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // ReplaceKeyPrefixWith: string, optional ReplaceKeyPrefixWith terra.StringValue `hcl:"replace_key_prefix_with,attr"` // ReplaceKeyWith: string, optional ReplaceKeyWith terra.StringValue `hcl:"replace_key_with,attr"` }
type RedirectAllRequestsTo ¶
type RedirectAllRequestsTo struct { // HostName: string, required HostName terra.StringValue `hcl:"host_name,attr" validate:"required"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` }
type RedirectAllRequestsToAttributes ¶
type RedirectAllRequestsToAttributes struct {
// contains filtered or unexported fields
}
func (RedirectAllRequestsToAttributes) HostName ¶
func (rart RedirectAllRequestsToAttributes) HostName() terra.StringValue
func (RedirectAllRequestsToAttributes) InternalRef ¶
func (rart RedirectAllRequestsToAttributes) InternalRef() (terra.Reference, error)
func (RedirectAllRequestsToAttributes) InternalTokens ¶
func (rart RedirectAllRequestsToAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RedirectAllRequestsToAttributes) InternalWithRef ¶
func (rart RedirectAllRequestsToAttributes) InternalWithRef(ref terra.Reference) RedirectAllRequestsToAttributes
func (RedirectAllRequestsToAttributes) Protocol ¶
func (rart RedirectAllRequestsToAttributes) Protocol() terra.StringValue
type RedirectAttributes ¶
type RedirectAttributes struct {
// contains filtered or unexported fields
}
func (RedirectAttributes) HostName ¶
func (r RedirectAttributes) HostName() terra.StringValue
func (RedirectAttributes) HttpRedirectCode ¶
func (r RedirectAttributes) HttpRedirectCode() terra.StringValue
func (RedirectAttributes) InternalRef ¶
func (r RedirectAttributes) InternalRef() (terra.Reference, error)
func (RedirectAttributes) InternalTokens ¶
func (r RedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RedirectAttributes) InternalWithRef ¶
func (r RedirectAttributes) InternalWithRef(ref terra.Reference) RedirectAttributes
func (RedirectAttributes) Protocol ¶
func (r RedirectAttributes) Protocol() terra.StringValue
func (RedirectAttributes) ReplaceKeyPrefixWith ¶
func (r RedirectAttributes) ReplaceKeyPrefixWith() terra.StringValue
func (RedirectAttributes) ReplaceKeyWith ¶
func (r RedirectAttributes) ReplaceKeyWith() terra.StringValue
type RedirectState ¶
type RoutingRule ¶
type RoutingRuleAttributes ¶
type RoutingRuleAttributes struct {
// contains filtered or unexported fields
}
func (RoutingRuleAttributes) Condition ¶
func (rr RoutingRuleAttributes) Condition() terra.ListValue[ConditionAttributes]
func (RoutingRuleAttributes) InternalRef ¶
func (rr RoutingRuleAttributes) InternalRef() (terra.Reference, error)
func (RoutingRuleAttributes) InternalTokens ¶
func (rr RoutingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoutingRuleAttributes) InternalWithRef ¶
func (rr RoutingRuleAttributes) InternalWithRef(ref terra.Reference) RoutingRuleAttributes
func (RoutingRuleAttributes) Redirect ¶
func (rr RoutingRuleAttributes) Redirect() terra.ListValue[RedirectAttributes]
type RoutingRuleState ¶
type RoutingRuleState struct { Condition []ConditionState `json:"condition"` Redirect []RedirectState `json:"redirect"` }
Click to show internal directories.
Click to hide internal directories.