Documentation ¶
Index ¶
- type Args
- 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 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 Resource
- func (asbwc *Resource) Attributes() awsS3BucketWebsiteConfigurationAttributes
- func (asbwc *Resource) Configuration() interface{}
- func (asbwc *Resource) DependOn() terra.Reference
- func (asbwc *Resource) Dependencies() terra.Dependencies
- func (asbwc *Resource) ImportState(state io.Reader) error
- func (asbwc *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbwc *Resource) LocalName() string
- func (asbwc *Resource) State() (*awsS3BucketWebsiteConfigurationState, bool)
- func (asbwc *Resource) StateMust() *awsS3BucketWebsiteConfigurationState
- func (asbwc *Resource) Type() string
- type RoutingRule
- type RoutingRuleAttributes
- func (rr RoutingRuleAttributes) Condition() terra.ListValue[RoutingRuleConditionAttributes]
- 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[RoutingRuleRedirectAttributes]
- type RoutingRuleCondition
- type RoutingRuleConditionAttributes
- func (c RoutingRuleConditionAttributes) HttpErrorCodeReturnedEquals() terra.StringValue
- func (c RoutingRuleConditionAttributes) InternalRef() (terra.Reference, error)
- func (c RoutingRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c RoutingRuleConditionAttributes) InternalWithRef(ref terra.Reference) RoutingRuleConditionAttributes
- func (c RoutingRuleConditionAttributes) KeyPrefixEquals() terra.StringValue
- type RoutingRuleConditionState
- type RoutingRuleRedirect
- type RoutingRuleRedirectAttributes
- func (r RoutingRuleRedirectAttributes) HostName() terra.StringValue
- func (r RoutingRuleRedirectAttributes) HttpRedirectCode() terra.StringValue
- func (r RoutingRuleRedirectAttributes) InternalRef() (terra.Reference, error)
- func (r RoutingRuleRedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RoutingRuleRedirectAttributes) InternalWithRef(ref terra.Reference) RoutingRuleRedirectAttributes
- func (r RoutingRuleRedirectAttributes) Protocol() terra.StringValue
- func (r RoutingRuleRedirectAttributes) ReplaceKeyPrefixWith() terra.StringValue
- func (r RoutingRuleRedirectAttributes) ReplaceKeyWith() terra.StringValue
- type RoutingRuleRedirectState
- type RoutingRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // ExpectedBucketOwner: string, optional ExpectedBucketOwner terra.StringValue `hcl:"expected_bucket_owner,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // RoutingRules: string, optional RoutingRules terra.StringValue `hcl:"routing_rules,attr"` // ErrorDocument: optional ErrorDocument *ErrorDocument `hcl:"error_document,block"` // IndexDocument: optional IndexDocument *IndexDocument `hcl:"index_document,block"` // RedirectAllRequestsTo: optional RedirectAllRequestsTo *RedirectAllRequestsTo `hcl:"redirect_all_requests_to,block"` // RoutingRule: min=0 RoutingRule []RoutingRule `hcl:"routing_rule,block" validate:"min=0"` }
Args contains the configurations for aws_s3_bucket_website_configuration.
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 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 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_s3_bucket_website_configuration.
func (*Resource) Attributes ¶
func (asbwc *Resource) Attributes() awsS3BucketWebsiteConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbwc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbwc *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 RoutingRule ¶
type RoutingRule struct { // RoutingRuleCondition: optional Condition *RoutingRuleCondition `hcl:"condition,block"` // RoutingRuleRedirect: required Redirect *RoutingRuleRedirect `hcl:"redirect,block" validate:"required"` }
type RoutingRuleAttributes ¶
type RoutingRuleAttributes struct {
// contains filtered or unexported fields
}
func (RoutingRuleAttributes) Condition ¶
func (rr RoutingRuleAttributes) Condition() terra.ListValue[RoutingRuleConditionAttributes]
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[RoutingRuleRedirectAttributes]
type RoutingRuleCondition ¶
type RoutingRuleCondition 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 RoutingRuleConditionAttributes ¶
type RoutingRuleConditionAttributes struct {
// contains filtered or unexported fields
}
func (RoutingRuleConditionAttributes) HttpErrorCodeReturnedEquals ¶
func (c RoutingRuleConditionAttributes) HttpErrorCodeReturnedEquals() terra.StringValue
func (RoutingRuleConditionAttributes) InternalRef ¶
func (c RoutingRuleConditionAttributes) InternalRef() (terra.Reference, error)
func (RoutingRuleConditionAttributes) InternalTokens ¶
func (c RoutingRuleConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoutingRuleConditionAttributes) InternalWithRef ¶
func (c RoutingRuleConditionAttributes) InternalWithRef(ref terra.Reference) RoutingRuleConditionAttributes
func (RoutingRuleConditionAttributes) KeyPrefixEquals ¶
func (c RoutingRuleConditionAttributes) KeyPrefixEquals() terra.StringValue
type RoutingRuleRedirect ¶
type RoutingRuleRedirect 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 RoutingRuleRedirectAttributes ¶
type RoutingRuleRedirectAttributes struct {
// contains filtered or unexported fields
}
func (RoutingRuleRedirectAttributes) HostName ¶
func (r RoutingRuleRedirectAttributes) HostName() terra.StringValue
func (RoutingRuleRedirectAttributes) HttpRedirectCode ¶
func (r RoutingRuleRedirectAttributes) HttpRedirectCode() terra.StringValue
func (RoutingRuleRedirectAttributes) InternalRef ¶
func (r RoutingRuleRedirectAttributes) InternalRef() (terra.Reference, error)
func (RoutingRuleRedirectAttributes) InternalTokens ¶
func (r RoutingRuleRedirectAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoutingRuleRedirectAttributes) InternalWithRef ¶
func (r RoutingRuleRedirectAttributes) InternalWithRef(ref terra.Reference) RoutingRuleRedirectAttributes
func (RoutingRuleRedirectAttributes) Protocol ¶
func (r RoutingRuleRedirectAttributes) Protocol() terra.StringValue
func (RoutingRuleRedirectAttributes) ReplaceKeyPrefixWith ¶
func (r RoutingRuleRedirectAttributes) ReplaceKeyPrefixWith() terra.StringValue
func (RoutingRuleRedirectAttributes) ReplaceKeyWith ¶
func (r RoutingRuleRedirectAttributes) ReplaceKeyWith() terra.StringValue
type RoutingRuleState ¶
type RoutingRuleState struct { Condition []RoutingRuleConditionState `json:"condition"` Redirect []RoutingRuleRedirectState `json:"redirect"` }
Click to show internal directories.
Click to hide internal directories.