    # File lib/fog/aws/models/beanstalk/template.rb, line 40
            def save
              requires :name, :application_name

              options = {
                  'ApplicationName' => application_name,
                  'Description' => description,
                  'EnvironmentId' => environment_id,
                  'OptionSettings' => option_settings,
                  'SolutionStackName' => solution_stack_name,
                  'SourceConfiguration' => source_configuration,
                  'TemplateName' => name
              }
              options.delete_if {|key, value| value.nil?}

              data = connection.create_configuration_template(options).body['CreateConfigurationTemplateResult']
              merge_attributes(data)
              true
            end