aws_apigatewayv2_integration

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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"`
	// ConnectionId: string, optional
	ConnectionId terra.StringValue `hcl:"connection_id,attr"`
	// ConnectionType: string, optional
	ConnectionType terra.StringValue `hcl:"connection_type,attr"`
	// ContentHandlingStrategy: string, optional
	ContentHandlingStrategy terra.StringValue `hcl:"content_handling_strategy,attr"`
	// CredentialsArn: string, optional
	CredentialsArn terra.StringValue `hcl:"credentials_arn,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IntegrationMethod: string, optional
	IntegrationMethod terra.StringValue `hcl:"integration_method,attr"`
	// IntegrationSubtype: string, optional
	IntegrationSubtype terra.StringValue `hcl:"integration_subtype,attr"`
	// IntegrationType: string, required
	IntegrationType terra.StringValue `hcl:"integration_type,attr" validate:"required"`
	// IntegrationUri: string, optional
	IntegrationUri terra.StringValue `hcl:"integration_uri,attr"`
	// PassthroughBehavior: string, optional
	PassthroughBehavior terra.StringValue `hcl:"passthrough_behavior,attr"`
	// PayloadFormatVersion: string, optional
	PayloadFormatVersion terra.StringValue `hcl:"payload_format_version,attr"`
	// RequestParameters: map of string, optional
	RequestParameters terra.MapValue[terra.StringValue] `hcl:"request_parameters,attr"`
	// RequestTemplates: map of string, optional
	RequestTemplates terra.MapValue[terra.StringValue] `hcl:"request_templates,attr"`
	// TemplateSelectionExpression: string, optional
	TemplateSelectionExpression terra.StringValue `hcl:"template_selection_expression,attr"`
	// TimeoutMilliseconds: number, optional
	TimeoutMilliseconds terra.NumberValue `hcl:"timeout_milliseconds,attr"`
	// ResponseParameters: min=0
	ResponseParameters []ResponseParameters `hcl:"response_parameters,block" validate:"min=0"`
	// TlsConfig: optional
	TlsConfig *TlsConfig `hcl:"tls_config,block"`
}

Args contains the configurations for aws_apigatewayv2_integration.

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_integration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aai *Resource) Attributes() awsApigatewayv2IntegrationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aai *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aai *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aai *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aai *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aai *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aai *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aai *Resource) State() (*awsApigatewayv2IntegrationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aai *Resource) StateMust() *awsApigatewayv2IntegrationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aai *Resource) Type() string

Type returns the Terraform object type for Resource.

type ResponseParameters

type ResponseParameters struct {
	// Mappings: map of string, required
	Mappings terra.MapValue[terra.StringValue] `hcl:"mappings,attr" validate:"required"`
	// StatusCode: string, required
	StatusCode terra.StringValue `hcl:"status_code,attr" validate:"required"`
}

type ResponseParametersAttributes

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

func (ResponseParametersAttributes) InternalRef

func (rp ResponseParametersAttributes) InternalRef() (terra.Reference, error)

func (ResponseParametersAttributes) InternalTokens

func (rp ResponseParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResponseParametersAttributes) InternalWithRef

func (ResponseParametersAttributes) Mappings

func (ResponseParametersAttributes) StatusCode

type ResponseParametersState

type ResponseParametersState struct {
	Mappings   map[string]string `json:"mappings"`
	StatusCode string            `json:"status_code"`
}

type TlsConfig

type TlsConfig struct {
	// ServerNameToVerify: string, optional
	ServerNameToVerify terra.StringValue `hcl:"server_name_to_verify,attr"`
}

type TlsConfigAttributes

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

func (TlsConfigAttributes) InternalRef

func (tc TlsConfigAttributes) InternalRef() (terra.Reference, error)

func (TlsConfigAttributes) InternalTokens

func (tc TlsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TlsConfigAttributes) InternalWithRef

func (tc TlsConfigAttributes) InternalWithRef(ref terra.Reference) TlsConfigAttributes

func (TlsConfigAttributes) ServerNameToVerify

func (tc TlsConfigAttributes) ServerNameToVerify() terra.StringValue

type TlsConfigState

type TlsConfigState struct {
	ServerNameToVerify string `json:"server_name_to_verify"`
}

Jump to

Keyboard shortcuts

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