Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + ApiKeySelectionExpression terra.StringValue + Body terra.StringValue + CorsConfiguration *CorsConfiguration + CredentialsArn terra.StringValue + Description terra.StringValue + DisableExecuteApiEndpoint terra.BoolValue + FailOnWarnings terra.BoolValue + Id terra.StringValue + Name terra.StringValue + ProtocolType terra.StringValue + RouteKey terra.StringValue + RouteSelectionExpression terra.StringValue + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + Target terra.StringValue + Version terra.StringValue + type CorsConfiguration struct + AllowCredentials terra.BoolValue + AllowHeaders terra.SetValue[terra.StringValue] + AllowMethods terra.SetValue[terra.StringValue] + AllowOrigins terra.SetValue[terra.StringValue] + ExposeHeaders terra.SetValue[terra.StringValue] + MaxAge terra.NumberValue + type CorsConfigurationAttributes struct + func (cc CorsConfigurationAttributes) AllowCredentials() terra.BoolValue + func (cc CorsConfigurationAttributes) AllowHeaders() terra.SetValue[terra.StringValue] + func (cc CorsConfigurationAttributes) AllowMethods() terra.SetValue[terra.StringValue] + func (cc CorsConfigurationAttributes) AllowOrigins() terra.SetValue[terra.StringValue] + func (cc CorsConfigurationAttributes) ExposeHeaders() terra.SetValue[terra.StringValue] + func (cc CorsConfigurationAttributes) InternalRef() (terra.Reference, error) + func (cc CorsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cc CorsConfigurationAttributes) InternalWithRef(ref terra.Reference) CorsConfigurationAttributes + func (cc CorsConfigurationAttributes) MaxAge() terra.NumberValue + type CorsConfigurationState struct + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOrigins []string + ExposeHeaders []string + MaxAge float64 + type DataArgs struct + ApiId terra.StringValue + Id terra.StringValue + Tags terra.MapValue[terra.StringValue] + type DataCorsConfigurationAttributes struct + func (cc DataCorsConfigurationAttributes) AllowCredentials() terra.BoolValue + func (cc DataCorsConfigurationAttributes) AllowHeaders() terra.SetValue[terra.StringValue] + func (cc DataCorsConfigurationAttributes) AllowMethods() terra.SetValue[terra.StringValue] + func (cc DataCorsConfigurationAttributes) AllowOrigins() terra.SetValue[terra.StringValue] + func (cc DataCorsConfigurationAttributes) ExposeHeaders() terra.SetValue[terra.StringValue] + func (cc DataCorsConfigurationAttributes) InternalRef() (terra.Reference, error) + func (cc DataCorsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cc DataCorsConfigurationAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigurationAttributes + func (cc DataCorsConfigurationAttributes) MaxAge() terra.NumberValue + type DataCorsConfigurationState struct + AllowCredentials bool + AllowHeaders []string + AllowMethods []string + AllowOrigins []string + ExposeHeaders []string + MaxAge float64 + type DataSource struct + Args DataArgs + Name string + func Data(name string, args DataArgs) *DataSource + func (aaa *DataSource) Attributes() dataAwsApigatewayv2ApiAttributes + func (aaa *DataSource) Configuration() interface{} + func (aaa *DataSource) DataSource() string + func (aaa *DataSource) LocalName() string + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (aaa *Resource) Attributes() awsApigatewayv2ApiAttributes + func (aaa *Resource) Configuration() interface{} + func (aaa *Resource) DependOn() terra.Reference + func (aaa *Resource) Dependencies() terra.Dependencies + func (aaa *Resource) ImportState(state io.Reader) error + func (aaa *Resource) LifecycleManagement() *terra.Lifecycle + func (aaa *Resource) LocalName() string + func (aaa *Resource) State() (*awsApigatewayv2ApiState, bool) + func (aaa *Resource) StateMust() *awsApigatewayv2ApiState + func (aaa *Resource) Type() string