TechHoldingLLC / terraform-aws-api-gateway

Terraform module which creates API Gateway on AWS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

Name Version
terraform >= 1.0
aws >= 4.5

Providers

Name Version
aws >= 4.5

Modules

No modules.

Resources

Name Type
aws_api_gateway_account.main resource
aws_api_gateway_base_path_mapping.main resource
aws_api_gateway_deployment.main resource
aws_api_gateway_domain_name.main resource
aws_api_gateway_gateway_response.missing_authentication_token resource
aws_api_gateway_integration.get_mock resource
aws_api_gateway_method.get resource
aws_api_gateway_method_settings.main resource
aws_api_gateway_rest_api.main resource
aws_api_gateway_stage.main resource
aws_cloudwatch_log_group.apigw_access_logs resource
aws_cloudwatch_log_group.apigw_execution_logs resource
aws_iam_role.apigw_cloudwatch resource
aws_iam_role_policy.apigw_cloudwatch resource
aws_iam_policy_document.apigw_service_trust_policy data source

Inputs

Name Description Type Default Required
apigw_name API Gateway name string n/a yes
binary_media_types List of binary media types supported by the REST API list(string) null no
certificate_arn arn for acm certificate string n/a yes
data_trace_enabled Whether data trace logging is enabled for this method bool false no
domain_name apigateway domain name string n/a yes
logging_level Logging level for this method: 'OFF','ERROR', 'INFO' string "INFO" no
metrics_enabled Whether Amazon CloudWatch metrics are enabled for this method bool true no
retention_in_days The number of days to retain log events in the Access and Execution Log groups number 30 no
security_policy Transport Layer Security(TLS) version + cipher suite for this DomainName string "TLS_1_2" no
stage_name Apigateway stage name string n/a yes
throttling_burst_limit The number of requests your API can handle concurrently number null no
throttling_rate_limit The number of allowed requests per second number null no

Outputs

Name Description
apigw_cloudwatch_role_arn n/a
cloudfront_domain_name n/a
cloudfront_zone_id n/a
domain_name n/a
endpoint n/a
execution_arn n/a
id n/a
name n/a
root_resource_id n/a
stage_arn n/a
stage_name n/a

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module which creates API Gateway on AWS.

License:Apache License 2.0


Languages

Language:HCL 100.0%