s3bucketwebsiteconfiguration

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 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 ConditionState struct {
	HttpErrorCodeReturnedEquals string `json:"http_error_code_returned_equals"`
	KeyPrefixEquals             string `json:"key_prefix_equals"`
}

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 (ErrorDocumentAttributes) Key

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 (IndexDocumentAttributes) Suffix

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 (RedirectAllRequestsToAttributes) InternalRef

func (rart RedirectAllRequestsToAttributes) InternalRef() (terra.Reference, error)

func (RedirectAllRequestsToAttributes) InternalTokens

func (rart RedirectAllRequestsToAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedirectAllRequestsToAttributes) InternalWithRef

func (RedirectAllRequestsToAttributes) Protocol

type RedirectAllRequestsToState

type RedirectAllRequestsToState struct {
	HostName string `json:"host_name"`
	Protocol string `json:"protocol"`
}

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 RedirectState struct {
	HostName             string `json:"host_name"`
	HttpRedirectCode     string `json:"http_redirect_code"`
	Protocol             string `json:"protocol"`
	ReplaceKeyPrefixWith string `json:"replace_key_prefix_with"`
	ReplaceKeyWith       string `json:"replace_key_with"`
}

type RoutingRule

type RoutingRule struct {
	// Condition: optional
	Condition *Condition `hcl:"condition,block"`
	// Redirect: required
	Redirect *Redirect `hcl:"redirect,block" validate:"required"`
}

type RoutingRuleAttributes

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

func (RoutingRuleAttributes) Condition

func (RoutingRuleAttributes) InternalRef

func (rr RoutingRuleAttributes) InternalRef() (terra.Reference, error)

func (RoutingRuleAttributes) InternalTokens

func (rr RoutingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RoutingRuleAttributes) InternalWithRef

func (RoutingRuleAttributes) Redirect

type RoutingRuleState

type RoutingRuleState struct {
	Condition []ConditionState `json:"condition"`
	Redirect  []RedirectState  `json:"redirect"`
}

Jump to

Keyboard shortcuts

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