Documentation ¶
Index ¶
- type Args
- type JwtConfiguration
- type JwtConfigurationAttributes
- func (jc JwtConfigurationAttributes) Audience() terra.SetValue[terra.StringValue]
- func (jc JwtConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (jc JwtConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (jc JwtConfigurationAttributes) InternalWithRef(ref terra.Reference) JwtConfigurationAttributes
- func (jc JwtConfigurationAttributes) Issuer() terra.StringValue
- type JwtConfigurationState
- type Resource
- func (aaa *Resource) Attributes() awsApigatewayv2AuthorizerAttributes
- 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() (*awsApigatewayv2AuthorizerState, bool)
- func (aaa *Resource) StateMust() *awsApigatewayv2AuthorizerState
- func (aaa *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApiId: string, required ApiId terra.StringValue `hcl:"api_id,attr" validate:"required"` // AuthorizerCredentialsArn: string, optional AuthorizerCredentialsArn terra.StringValue `hcl:"authorizer_credentials_arn,attr"` // AuthorizerPayloadFormatVersion: string, optional AuthorizerPayloadFormatVersion terra.StringValue `hcl:"authorizer_payload_format_version,attr"` // AuthorizerResultTtlInSeconds: number, optional AuthorizerResultTtlInSeconds terra.NumberValue `hcl:"authorizer_result_ttl_in_seconds,attr"` // AuthorizerType: string, required AuthorizerType terra.StringValue `hcl:"authorizer_type,attr" validate:"required"` // AuthorizerUri: string, optional AuthorizerUri terra.StringValue `hcl:"authorizer_uri,attr"` // EnableSimpleResponses: bool, optional EnableSimpleResponses terra.BoolValue `hcl:"enable_simple_responses,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdentitySources: set of string, optional IdentitySources terra.SetValue[terra.StringValue] `hcl:"identity_sources,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // JwtConfiguration: optional JwtConfiguration *JwtConfiguration `hcl:"jwt_configuration,block"` }
Args contains the configurations for aws_apigatewayv2_authorizer.
type JwtConfiguration ¶
type JwtConfiguration struct { // Audience: set of string, optional Audience terra.SetValue[terra.StringValue] `hcl:"audience,attr"` // Issuer: string, optional Issuer terra.StringValue `hcl:"issuer,attr"` }
type JwtConfigurationAttributes ¶
type JwtConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (JwtConfigurationAttributes) Audience ¶
func (jc JwtConfigurationAttributes) Audience() terra.SetValue[terra.StringValue]
func (JwtConfigurationAttributes) InternalRef ¶
func (jc JwtConfigurationAttributes) InternalRef() (terra.Reference, error)
func (JwtConfigurationAttributes) InternalTokens ¶
func (jc JwtConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (JwtConfigurationAttributes) InternalWithRef ¶
func (jc JwtConfigurationAttributes) InternalWithRef(ref terra.Reference) JwtConfigurationAttributes
func (JwtConfigurationAttributes) Issuer ¶
func (jc JwtConfigurationAttributes) Issuer() terra.StringValue
type JwtConfigurationState ¶
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_apigatewayv2_authorizer.
func (*Resource) Attributes ¶
func (aaa *Resource) Attributes() awsApigatewayv2AuthorizerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaa *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.
Click to show internal directories.
Click to hide internal directories.