Documentation ¶
Index ¶
- type Args
- type CookiesConfig
- type CookiesConfigAttributes
- func (cc CookiesConfigAttributes) CookieBehavior() terra.StringValue
- func (cc CookiesConfigAttributes) Cookies() terra.ListValue[CookiesConfigCookiesAttributes]
- func (cc CookiesConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc CookiesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CookiesConfigAttributes) InternalWithRef(ref terra.Reference) CookiesConfigAttributes
- type CookiesConfigCookies
- type CookiesConfigCookiesAttributes
- func (c CookiesConfigCookiesAttributes) InternalRef() (terra.Reference, error)
- func (c CookiesConfigCookiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CookiesConfigCookiesAttributes) InternalWithRef(ref terra.Reference) CookiesConfigCookiesAttributes
- func (c CookiesConfigCookiesAttributes) Items() terra.SetValue[terra.StringValue]
- type CookiesConfigCookiesState
- type CookiesConfigState
- type DataArgs
- type DataCookiesConfigAttributes
- func (cc DataCookiesConfigAttributes) CookieBehavior() terra.StringValue
- func (cc DataCookiesConfigAttributes) Cookies() terra.ListValue[DataCookiesConfigCookiesAttributes]
- func (cc DataCookiesConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc DataCookiesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc DataCookiesConfigAttributes) InternalWithRef(ref terra.Reference) DataCookiesConfigAttributes
- type DataCookiesConfigCookiesAttributes
- func (c DataCookiesConfigCookiesAttributes) InternalRef() (terra.Reference, error)
- func (c DataCookiesConfigCookiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataCookiesConfigCookiesAttributes) InternalWithRef(ref terra.Reference) DataCookiesConfigCookiesAttributes
- func (c DataCookiesConfigCookiesAttributes) Items() terra.SetValue[terra.StringValue]
- type DataCookiesConfigCookiesState
- type DataCookiesConfigState
- type DataHeadersConfigAttributes
- func (hc DataHeadersConfigAttributes) HeaderBehavior() terra.StringValue
- func (hc DataHeadersConfigAttributes) Headers() terra.ListValue[DataHeadersConfigHeadersAttributes]
- func (hc DataHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (hc DataHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc DataHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataHeadersConfigAttributes
- type DataHeadersConfigHeadersAttributes
- func (h DataHeadersConfigHeadersAttributes) InternalRef() (terra.Reference, error)
- func (h DataHeadersConfigHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h DataHeadersConfigHeadersAttributes) InternalWithRef(ref terra.Reference) DataHeadersConfigHeadersAttributes
- func (h DataHeadersConfigHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type DataHeadersConfigHeadersState
- type DataHeadersConfigState
- type DataQueryStringsConfigAttributes
- func (qsc DataQueryStringsConfigAttributes) InternalRef() (terra.Reference, error)
- func (qsc DataQueryStringsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qsc DataQueryStringsConfigAttributes) InternalWithRef(ref terra.Reference) DataQueryStringsConfigAttributes
- func (qsc DataQueryStringsConfigAttributes) QueryStringBehavior() terra.StringValue
- func (qsc DataQueryStringsConfigAttributes) QueryStrings() terra.ListValue[DataQueryStringsConfigQueryStringsAttributes]
- type DataQueryStringsConfigQueryStringsAttributes
- func (qs DataQueryStringsConfigQueryStringsAttributes) InternalRef() (terra.Reference, error)
- func (qs DataQueryStringsConfigQueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs DataQueryStringsConfigQueryStringsAttributes) InternalWithRef(ref terra.Reference) DataQueryStringsConfigQueryStringsAttributes
- func (qs DataQueryStringsConfigQueryStringsAttributes) Items() terra.SetValue[terra.StringValue]
- type DataQueryStringsConfigQueryStringsState
- type DataQueryStringsConfigState
- type DataSource
- type HeadersConfig
- type HeadersConfigAttributes
- func (hc HeadersConfigAttributes) HeaderBehavior() terra.StringValue
- func (hc HeadersConfigAttributes) Headers() terra.ListValue[HeadersConfigHeadersAttributes]
- func (hc HeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (hc HeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc HeadersConfigAttributes) InternalWithRef(ref terra.Reference) HeadersConfigAttributes
- type HeadersConfigHeaders
- type HeadersConfigHeadersAttributes
- func (h HeadersConfigHeadersAttributes) InternalRef() (terra.Reference, error)
- func (h HeadersConfigHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HeadersConfigHeadersAttributes) InternalWithRef(ref terra.Reference) HeadersConfigHeadersAttributes
- func (h HeadersConfigHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type HeadersConfigHeadersState
- type HeadersConfigState
- type QueryStringsConfig
- type QueryStringsConfigAttributes
- func (qsc QueryStringsConfigAttributes) InternalRef() (terra.Reference, error)
- func (qsc QueryStringsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qsc QueryStringsConfigAttributes) InternalWithRef(ref terra.Reference) QueryStringsConfigAttributes
- func (qsc QueryStringsConfigAttributes) QueryStringBehavior() terra.StringValue
- func (qsc QueryStringsConfigAttributes) QueryStrings() terra.ListValue[QueryStringsConfigQueryStringsAttributes]
- type QueryStringsConfigQueryStrings
- type QueryStringsConfigQueryStringsAttributes
- func (qs QueryStringsConfigQueryStringsAttributes) InternalRef() (terra.Reference, error)
- func (qs QueryStringsConfigQueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (qs QueryStringsConfigQueryStringsAttributes) InternalWithRef(ref terra.Reference) QueryStringsConfigQueryStringsAttributes
- func (qs QueryStringsConfigQueryStringsAttributes) Items() terra.SetValue[terra.StringValue]
- type QueryStringsConfigQueryStringsState
- type QueryStringsConfigState
- type Resource
- func (acorp *Resource) Attributes() awsCloudfrontOriginRequestPolicyAttributes
- func (acorp *Resource) Configuration() interface{}
- func (acorp *Resource) DependOn() terra.Reference
- func (acorp *Resource) Dependencies() terra.Dependencies
- func (acorp *Resource) ImportState(state io.Reader) error
- func (acorp *Resource) LifecycleManagement() *terra.Lifecycle
- func (acorp *Resource) LocalName() string
- func (acorp *Resource) State() (*awsCloudfrontOriginRequestPolicyState, bool)
- func (acorp *Resource) StateMust() *awsCloudfrontOriginRequestPolicyState
- func (acorp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Comment: string, optional Comment terra.StringValue `hcl:"comment,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // CookiesConfig: required CookiesConfig *CookiesConfig `hcl:"cookies_config,block" validate:"required"` // HeadersConfig: required HeadersConfig *HeadersConfig `hcl:"headers_config,block" validate:"required"` // QueryStringsConfig: required QueryStringsConfig *QueryStringsConfig `hcl:"query_strings_config,block" validate:"required"` }
Args contains the configurations for aws_cloudfront_origin_request_policy.
type CookiesConfig ¶
type CookiesConfig struct { // CookieBehavior: string, required CookieBehavior terra.StringValue `hcl:"cookie_behavior,attr" validate:"required"` // CookiesConfigCookies: optional Cookies *CookiesConfigCookies `hcl:"cookies,block"` }
type CookiesConfigAttributes ¶
type CookiesConfigAttributes struct {
// contains filtered or unexported fields
}
func (CookiesConfigAttributes) CookieBehavior ¶
func (cc CookiesConfigAttributes) CookieBehavior() terra.StringValue
func (CookiesConfigAttributes) Cookies ¶
func (cc CookiesConfigAttributes) Cookies() terra.ListValue[CookiesConfigCookiesAttributes]
func (CookiesConfigAttributes) InternalRef ¶
func (cc CookiesConfigAttributes) InternalRef() (terra.Reference, error)
func (CookiesConfigAttributes) InternalTokens ¶
func (cc CookiesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CookiesConfigAttributes) InternalWithRef ¶
func (cc CookiesConfigAttributes) InternalWithRef(ref terra.Reference) CookiesConfigAttributes
type CookiesConfigCookies ¶
type CookiesConfigCookies struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type CookiesConfigCookiesAttributes ¶
type CookiesConfigCookiesAttributes struct {
// contains filtered or unexported fields
}
func (CookiesConfigCookiesAttributes) InternalRef ¶
func (c CookiesConfigCookiesAttributes) InternalRef() (terra.Reference, error)
func (CookiesConfigCookiesAttributes) InternalTokens ¶
func (c CookiesConfigCookiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CookiesConfigCookiesAttributes) InternalWithRef ¶
func (c CookiesConfigCookiesAttributes) InternalWithRef(ref terra.Reference) CookiesConfigCookiesAttributes
func (CookiesConfigCookiesAttributes) Items ¶
func (c CookiesConfigCookiesAttributes) Items() terra.SetValue[terra.StringValue]
type CookiesConfigCookiesState ¶
type CookiesConfigCookiesState struct {
Items []string `json:"items"`
}
type CookiesConfigState ¶
type CookiesConfigState struct { CookieBehavior string `json:"cookie_behavior"` Cookies []CookiesConfigCookiesState `json:"cookies"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
DataArgs contains the configurations for aws_cloudfront_origin_request_policy.
type DataCookiesConfigAttributes ¶
type DataCookiesConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataCookiesConfigAttributes) CookieBehavior ¶
func (cc DataCookiesConfigAttributes) CookieBehavior() terra.StringValue
func (DataCookiesConfigAttributes) Cookies ¶
func (cc DataCookiesConfigAttributes) Cookies() terra.ListValue[DataCookiesConfigCookiesAttributes]
func (DataCookiesConfigAttributes) InternalRef ¶
func (cc DataCookiesConfigAttributes) InternalRef() (terra.Reference, error)
func (DataCookiesConfigAttributes) InternalTokens ¶
func (cc DataCookiesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCookiesConfigAttributes) InternalWithRef ¶
func (cc DataCookiesConfigAttributes) InternalWithRef(ref terra.Reference) DataCookiesConfigAttributes
type DataCookiesConfigCookiesAttributes ¶
type DataCookiesConfigCookiesAttributes struct {
// contains filtered or unexported fields
}
func (DataCookiesConfigCookiesAttributes) InternalRef ¶
func (c DataCookiesConfigCookiesAttributes) InternalRef() (terra.Reference, error)
func (DataCookiesConfigCookiesAttributes) InternalTokens ¶
func (c DataCookiesConfigCookiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCookiesConfigCookiesAttributes) InternalWithRef ¶
func (c DataCookiesConfigCookiesAttributes) InternalWithRef(ref terra.Reference) DataCookiesConfigCookiesAttributes
func (DataCookiesConfigCookiesAttributes) Items ¶
func (c DataCookiesConfigCookiesAttributes) Items() terra.SetValue[terra.StringValue]
type DataCookiesConfigCookiesState ¶
type DataCookiesConfigCookiesState struct {
Items []string `json:"items"`
}
type DataCookiesConfigState ¶
type DataCookiesConfigState struct { CookieBehavior string `json:"cookie_behavior"` Cookies []DataCookiesConfigCookiesState `json:"cookies"` }
type DataHeadersConfigAttributes ¶
type DataHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataHeadersConfigAttributes) HeaderBehavior ¶
func (hc DataHeadersConfigAttributes) HeaderBehavior() terra.StringValue
func (DataHeadersConfigAttributes) Headers ¶
func (hc DataHeadersConfigAttributes) Headers() terra.ListValue[DataHeadersConfigHeadersAttributes]
func (DataHeadersConfigAttributes) InternalRef ¶
func (hc DataHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (DataHeadersConfigAttributes) InternalTokens ¶
func (hc DataHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHeadersConfigAttributes) InternalWithRef ¶
func (hc DataHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataHeadersConfigAttributes
type DataHeadersConfigHeadersAttributes ¶
type DataHeadersConfigHeadersAttributes struct {
// contains filtered or unexported fields
}
func (DataHeadersConfigHeadersAttributes) InternalRef ¶
func (h DataHeadersConfigHeadersAttributes) InternalRef() (terra.Reference, error)
func (DataHeadersConfigHeadersAttributes) InternalTokens ¶
func (h DataHeadersConfigHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHeadersConfigHeadersAttributes) InternalWithRef ¶
func (h DataHeadersConfigHeadersAttributes) InternalWithRef(ref terra.Reference) DataHeadersConfigHeadersAttributes
func (DataHeadersConfigHeadersAttributes) Items ¶
func (h DataHeadersConfigHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type DataHeadersConfigHeadersState ¶
type DataHeadersConfigHeadersState struct {
Items []string `json:"items"`
}
type DataHeadersConfigState ¶
type DataHeadersConfigState struct { HeaderBehavior string `json:"header_behavior"` Headers []DataHeadersConfigHeadersState `json:"headers"` }
type DataQueryStringsConfigAttributes ¶
type DataQueryStringsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataQueryStringsConfigAttributes) InternalRef ¶
func (qsc DataQueryStringsConfigAttributes) InternalRef() (terra.Reference, error)
func (DataQueryStringsConfigAttributes) InternalTokens ¶
func (qsc DataQueryStringsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataQueryStringsConfigAttributes) InternalWithRef ¶
func (qsc DataQueryStringsConfigAttributes) InternalWithRef(ref terra.Reference) DataQueryStringsConfigAttributes
func (DataQueryStringsConfigAttributes) QueryStringBehavior ¶
func (qsc DataQueryStringsConfigAttributes) QueryStringBehavior() terra.StringValue
func (DataQueryStringsConfigAttributes) QueryStrings ¶
func (qsc DataQueryStringsConfigAttributes) QueryStrings() terra.ListValue[DataQueryStringsConfigQueryStringsAttributes]
type DataQueryStringsConfigQueryStringsAttributes ¶
type DataQueryStringsConfigQueryStringsAttributes struct {
// contains filtered or unexported fields
}
func (DataQueryStringsConfigQueryStringsAttributes) InternalRef ¶
func (qs DataQueryStringsConfigQueryStringsAttributes) InternalRef() (terra.Reference, error)
func (DataQueryStringsConfigQueryStringsAttributes) InternalTokens ¶
func (qs DataQueryStringsConfigQueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataQueryStringsConfigQueryStringsAttributes) InternalWithRef ¶
func (qs DataQueryStringsConfigQueryStringsAttributes) InternalWithRef(ref terra.Reference) DataQueryStringsConfigQueryStringsAttributes
func (DataQueryStringsConfigQueryStringsAttributes) Items ¶
func (qs DataQueryStringsConfigQueryStringsAttributes) Items() terra.SetValue[terra.StringValue]
type DataQueryStringsConfigQueryStringsState ¶
type DataQueryStringsConfigQueryStringsState struct {
Items []string `json:"items"`
}
type DataQueryStringsConfigState ¶
type DataQueryStringsConfigState struct { QueryStringBehavior string `json:"query_string_behavior"` QueryStrings []DataQueryStringsConfigQueryStringsState `json:"query_strings"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_cloudfront_origin_request_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (acorp *DataSource) Attributes() dataAwsCloudfrontOriginRequestPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (acorp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (acorp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (acorp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type HeadersConfig ¶
type HeadersConfig struct { // HeaderBehavior: string, optional HeaderBehavior terra.StringValue `hcl:"header_behavior,attr"` // HeadersConfigHeaders: optional Headers *HeadersConfigHeaders `hcl:"headers,block"` }
type HeadersConfigAttributes ¶
type HeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (HeadersConfigAttributes) HeaderBehavior ¶
func (hc HeadersConfigAttributes) HeaderBehavior() terra.StringValue
func (HeadersConfigAttributes) Headers ¶
func (hc HeadersConfigAttributes) Headers() terra.ListValue[HeadersConfigHeadersAttributes]
func (HeadersConfigAttributes) InternalRef ¶
func (hc HeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (HeadersConfigAttributes) InternalTokens ¶
func (hc HeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HeadersConfigAttributes) InternalWithRef ¶
func (hc HeadersConfigAttributes) InternalWithRef(ref terra.Reference) HeadersConfigAttributes
type HeadersConfigHeaders ¶
type HeadersConfigHeaders struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type HeadersConfigHeadersAttributes ¶
type HeadersConfigHeadersAttributes struct {
// contains filtered or unexported fields
}
func (HeadersConfigHeadersAttributes) InternalRef ¶
func (h HeadersConfigHeadersAttributes) InternalRef() (terra.Reference, error)
func (HeadersConfigHeadersAttributes) InternalTokens ¶
func (h HeadersConfigHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HeadersConfigHeadersAttributes) InternalWithRef ¶
func (h HeadersConfigHeadersAttributes) InternalWithRef(ref terra.Reference) HeadersConfigHeadersAttributes
func (HeadersConfigHeadersAttributes) Items ¶
func (h HeadersConfigHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type HeadersConfigHeadersState ¶
type HeadersConfigHeadersState struct {
Items []string `json:"items"`
}
type HeadersConfigState ¶
type HeadersConfigState struct { HeaderBehavior string `json:"header_behavior"` Headers []HeadersConfigHeadersState `json:"headers"` }
type QueryStringsConfig ¶
type QueryStringsConfig struct { // QueryStringBehavior: string, required QueryStringBehavior terra.StringValue `hcl:"query_string_behavior,attr" validate:"required"` // QueryStringsConfigQueryStrings: optional QueryStrings *QueryStringsConfigQueryStrings `hcl:"query_strings,block"` }
type QueryStringsConfigAttributes ¶
type QueryStringsConfigAttributes struct {
// contains filtered or unexported fields
}
func (QueryStringsConfigAttributes) InternalRef ¶
func (qsc QueryStringsConfigAttributes) InternalRef() (terra.Reference, error)
func (QueryStringsConfigAttributes) InternalTokens ¶
func (qsc QueryStringsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryStringsConfigAttributes) InternalWithRef ¶
func (qsc QueryStringsConfigAttributes) InternalWithRef(ref terra.Reference) QueryStringsConfigAttributes
func (QueryStringsConfigAttributes) QueryStringBehavior ¶
func (qsc QueryStringsConfigAttributes) QueryStringBehavior() terra.StringValue
func (QueryStringsConfigAttributes) QueryStrings ¶
func (qsc QueryStringsConfigAttributes) QueryStrings() terra.ListValue[QueryStringsConfigQueryStringsAttributes]
type QueryStringsConfigQueryStrings ¶
type QueryStringsConfigQueryStrings struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type QueryStringsConfigQueryStringsAttributes ¶
type QueryStringsConfigQueryStringsAttributes struct {
// contains filtered or unexported fields
}
func (QueryStringsConfigQueryStringsAttributes) InternalRef ¶
func (qs QueryStringsConfigQueryStringsAttributes) InternalRef() (terra.Reference, error)
func (QueryStringsConfigQueryStringsAttributes) InternalTokens ¶
func (qs QueryStringsConfigQueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryStringsConfigQueryStringsAttributes) InternalWithRef ¶
func (qs QueryStringsConfigQueryStringsAttributes) InternalWithRef(ref terra.Reference) QueryStringsConfigQueryStringsAttributes
func (QueryStringsConfigQueryStringsAttributes) Items ¶
func (qs QueryStringsConfigQueryStringsAttributes) Items() terra.SetValue[terra.StringValue]
type QueryStringsConfigQueryStringsState ¶
type QueryStringsConfigQueryStringsState struct {
Items []string `json:"items"`
}
type QueryStringsConfigState ¶
type QueryStringsConfigState struct { QueryStringBehavior string `json:"query_string_behavior"` QueryStrings []QueryStringsConfigQueryStringsState `json:"query_strings"` }
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_cloudfront_origin_request_policy.
func (*Resource) Attributes ¶
func (acorp *Resource) Attributes() awsCloudfrontOriginRequestPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acorp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acorp *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.