<% # Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %> <%= fields_for :settings, OpenObject.new(settings) do |f| %>

<%= t(:description, <<-TEXT) Pushes events to a Kinesis stream. TEXT %>

<%= f.blabel :use_consul, :en => "Configure using Consul instead of this page" %> <%= f.check_box :use_consul %>
<%= f.blabel :kinesis_stream_name, :en => "Kinesis Stream Name" %> <%= f.text_field :kinesis_stream_name %>

<%= t(:endpoint_region_requirement, <<-TEXT) Either the AWS Region or Endpoint are required. The endpoint is typically only used for development. TEXT %>

<%= f.blabel :aws_region, :en => "AWS Region" %> <%= f.text_field :aws_region %>
<%= f.blabel :aws_endpoint, :en => "AWS Endpoint (url)" %> <%= f.text_field :aws_endpoint %>
<%= f.blabel :aws_access_key_id, :en => "AWS Access Key ID" %> <%= f.text_field :aws_access_key_id %>
<%= f.blabel :aws_secret_access_key, :en => "AWS Secret Access Key" %> <%= f.password_field :aws_secret_access_key %>
<% end %>