config: aws:region: us-east-1 project_name: labels-valvula-bloco-funcao lambda-api: - name: labels-valvula-bloco-funcao network_config: is_private: true vpc_id: vpc-098bd05c4ef524627 private_subnet_ids: #using API VPC Endpoint in 1 subnet is cheaper than using it in 2 or more - subnet-0c8b5a9233eff22b4 # - subnet-00adc4773686d8c1b timeout: 900 memory: 2048 ecr: repo_name: rekognition-valvulas-funcao tag: latest #env_vars: provisioned_concurrency: 0 api_gateway: use_api_gw: true communication_type: REST #REST # WEBSOCKET | HTTP | REST #TODO implement all type: REGIONAL # PRIVATE | REGIONAL | EDGE authorization: NONE # | AWS_IAM | ... allow_inbound_any: true allow_inbound_cidrs: - 3.14.44.224/32 # IP VPN DNX create_and_allow_vpce: true # only used for PRIVATE api type stage_name: dev routes: - method: POST path: /execute iam: managed_policies: [] #custom_policies: